Keyboard Alternative for Column Reordering
Columns that can be reordered by dragging can also be moved via the keyboard and a header menu, for example Ctrl+Shift+ArrowLeft/Right or 'Move column left/right'. Each move is announced. This satisfies WCAG 2.5.7 Dragging Movements and 2.1.1.
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
An 8-column contacts grid with drag-reorderable headers.
Expected behavior
Keyboard moves update the order and keep focus on the moved header. Locked positions announce 'cannot move'.
Planned API surface
reorderableColumnsmoveColumn()columnMovecolumnMenu.moveItemsmessages.columnMoveAcceptance criteria
- Every reorder achievable by drag is achievable without pointer drag. (pending)
- Focus stays on the moved header after the move. (pending)
- The announcement states the new position and the total. (pending)
- Locked columns reject the move with an announcement. (pending)