microsoft / microsoft/fluentui

[Bug]: Menu - aria-haspopup should use "menu" as value

Open
#36,414 0 comments 0 reactions 1 assignee View on GitHub

@chrisdholt is already working on this.

Since Jul 22, 2026.

Fluent UI WC (v3) Type: Bug :bug: web-components
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Component

Menu

Package version

3.0.0

@microsoft/fast-element version

3.0

Environment
na - running from Fluent UI Blazor
Current Behavior

When a menu is openend it adds the attribute aria-haspopup="true"

Expected Behavior

When a menu is openend it adds the attribute aria-haspopup="menu"

Reproduction

https://storybooks.fluentui.dev/web-components/?path=/docs/components-menu--docs

Steps to reproduce

Inspect the first example in DevTools. Observe that the fluent-menu-button has aria-popup="true" instead of aria-popup="menu"

Are you reporting an Accessibility issue?

yes

Suggested severity

High - No workaround

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.