Keyboard-Accessible Menus with ARIA Menu Semantics
All grid menus follow the WAI-ARIA menu pattern: full keyboard navigation, typeahead, roving focus, and correct roles and states. Menus are often the only route to certain features, so they must work for keyboard and screen reader users.
Planned. This page shows the specification from issue #202. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid with header and context menus, plus a visible live log of focus and ARIA attributes.
Expected behavior
The arrow keys move focus between items and skip separators. Home and End jump to the first and last item. Typing letters moves to the matching item. Escape closes one menu level at a time. Tab closes the whole menu chain and moves focus onward.
Planned API surface
gridOptions.menuTypeaheadgridOptions.menuLoopNavigationgridOptions.localeText.menu*onMenuFocusChangeAcceptance criteria
- The menu container has role="menu" and aria-labelledby pointing to its trigger or a label. (pending)
- Exactly one item has tabindex=0 (roving tabindex). (pending)
- ArrowDown and ArrowUp move focus and wrap only when menuLoopNavigation is on. (pending)
- Typeahead matches items by label prefix within 500 ms. (pending)
- Escape closes the current level and returns focus to its parent item or to the trigger. (pending)
- Disabled items can receive focus but cannot be activated. (pending)
- An axe-core scan reports zero violations with menus open. (pending)