WarUI

Arrow key cell navigation

GRID-A11-F10P0baselinePlanned

The arrow keys move the focus one cell at a time, with RTL-aware horizontal movement. The focused cell scrolls into view. Movement stops at the edges unless wrap is enabled. This is the core of keyboard grid usability.

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 100-row by 15-column grid with horizontal scroll. Focus starts on the first data cell.

Expected behavior

ArrowRight moves to the next column, mirrored in RTL. ArrowDown moves to the next row. At the last column, wrap 'row' moves to the first cell of the next row. The grid scrolls so the focused cell is fully visible, including next to pinned columns.

Planned API surface

keyboardNavigation: booleanwrapNavigation: 'none' | 'row' | 'grid'direction: 'ltr' | 'rtl'onFocusedCellChange

Acceptance criteria

  • Each arrow key moves the focus by exactly one cell in the expected direction. (pending)
  • In RTL, ArrowLeft moves to the logically next column. (pending)
  • With wrap 'none', the focus stays put at the edges and no scroll jitter occurs. (pending)
  • The focused cell is fully visible and not hidden behind pinned columns or a sticky header. (pending)
  • Holding an arrow key auto-repeats without skipping cells or losing focus. (pending)