Skip to content

[WC-3397]: Popup menu improve accessibility and keyboard navigation#2189

Open
HedwigAR wants to merge 12 commits intomainfrom
AT-174/popup-keyboard-accessibility
Open

[WC-3397]: Popup menu improve accessibility and keyboard navigation#2189
HedwigAR wants to merge 12 commits intomainfrom
AT-174/popup-keyboard-accessibility

Conversation

@HedwigAR
Copy link
Copy Markdown
Contributor

Pull request type

Bug fix (non-breaking change which fixes an issue)

Description

Improved keyboard accessibility for the popup menu widget to meet WCAG standards. Menu items are now fully keyboard-navigable, and screen readers will correctly announce the menu structure and state.

What should be covered while testing?

There should be no changes to functionality, popup menu should work as before except for keyboard navigation and screen reader support:

Keyboard Navigation (new):

  • Arrow keys: Navigate up/down through menu items (loops at boundaries)
  • Enter/Space: Activate the focused menu item
  • Escape: Close menu and return focus to trigger
  • Tab: Focus moves through items (roving tabindex pattern)

Screen Reader Support (new):

  • Trigger element announces as "menu button" with expanded/collapsed state
  • Menu announces as "menu" role
  • Individual options announce as "menu items"

@HedwigAR HedwigAR requested a review from a team as a code owner April 23, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants