Accessible Header Menus and Filter Popups
Column menus and filter popups use proper menu or dialog semantics, move focus in on open, trap focus where appropriate, close on Escape and return focus to the invoking header. The header button exposes aria-haspopup and aria-expanded.
Planned. This page shows the specification from issue #203. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid where every header has a menu button and a filter popup.
Expected behavior
Opening a menu moves focus to its first item. Escape closes it and returns focus. aria-expanded on the trigger updates.
Planned API surface
columnMenufilterPopupopenColumnMenu()menuOpenmenuClosemenuShortcutAcceptance criteria
- The trigger exposes aria-haspopup with the correct type and aria-expanded. (pending)
- Focus moves into the popup on open and returns to the trigger on close. (pending)
- The menu supports arrow navigation and typeahead. (pending)
- A filter dialog has an accessible name naming the column. (pending)