Tasks
Ways to reorder, shown separately because a real implementation picks one. Every move is announced in one live region at the bottom.
1. Drag handle, vertical
Drag an item with its handle, or press Space on a focused handle to grab it, move it with ArrowUp or ArrowDown, then press Space to drop or Esc to cancel. The default for a single axis: the item itself is lifted, its slot stays as the gap, and a marker shows where it will land.
2. Move buttons, vertical
No handle and no dragging: visible buttons move an item up or down. This is the most discoverable option and works in screen-reader browse modes.
3. Drag handle, horizontal
The same code along the inline axis. Drag a card, or grab it with Space and move it with ArrowLeft or ArrowRight. The arrows follow the visual direction, so they flip in right-to-left layouts.
4. Drag handle, vertical, with a clone
The same list, but a clone of the item follows the pointer while the source fades in place. For comparison with section 1.
5. Drag handle, horizontal, with a clone
The same row, but a clone of the card follows the pointer while the source fades in place. For comparison with section 3.