Keyboard
The keyboard path is the half that gets skipped when a reorder list is written by hand, and it is most of why this is a component rather than a recipe.
| Key | Does |
|---|---|
| Tab | Moves to the next row |
| Space / Enter | Picks the row up, or drops it |
| ↑ / ↓ | Moves the held row, or moves focus when nothing is held |
| Esc | Cancels the pick-up |
Arrow keys browse until a row is picked up, and only then move it. Reordering directly on arrow keys looks simpler but leaves a screen reader user unable to read the list without rearranging it.
Every move is announced through a live region, because a keyboard user does not see the row travel.