Skip to content

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

Description

@vnbaaij

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions