WarUI

Header and filter row keyboard navigation

GRID-A11-F17P1baselinePlanned

Includes header cells, and an optional filter row, in the arrow-key navigation space. Users can sort with Enter, open column menus with a shortcut, and move into filter inputs. Headers are part of the grid structure, so they must be reachable without a mouse.

Planned. This page shows the specification from issue #189. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with a sortable header, a filter row, and column menus.

Expected behavior

ArrowUp from row 1 moves to the filter row, then to the header. Enter on a header cycles the sort. The menu shortcut opens the column menu with focus inside it. Escape returns the focus to the header cell.

Planned API surface

headerNavigation: booleanfilterRowNavigation: booleancolumnMenuShortcutonHeaderKeyDown

Acceptance criteria

  • Header cells participate in arrow navigation when headerNavigation is true. (pending)
  • Enter or Space on a sortable header toggles the sort and updates aria-sort. (pending)
  • Entering a filter cell requires Enter, so arrow keys do not get trapped in the input; Escape returns to navigation. (pending)
  • The column menu opens with the configured shortcut, and closing it restores focus to the header. (pending)
  • Ctrl+Home targets the first header cell when headers are included (F11 option). (pending)