Tree
Nested items a person opens and closes, chooses, and moves, after the WAI-ARIA tree pattern.
A book's binder: branches, links, a chosen row and moving
Paluxy Portal, as Carrel's binder would show it. Arrow keys move, Right and Left open and close, Enter opens a file, Alt with an arrow moves a row, and a row drags to a new place. Each move is said in words and reported to the page.
As delivered with no script
The same contract before enhance runs: nested lists, every level shown, every link a link. No roles a reader would expect keys for.
Several chosen, no links, one row not available
Space chooses or clears a row; the page hears each choice. The published chapter cannot be chosen for export again.
-
Front matter
- Title page
- Dedication
-
Chapters
- 01 The riverbed
- 02 Flood stage
Row states: under the pointer, keyboard focus, dragged, and where a drop lands
Set from the page, not from a pointer: a row under the pointer, the focus ring, the row being dragged, and the three drop marks, a line before, a ring inside a branch, a line after.
- Under the pointer
- Keyboard focus
- Chosen
- Being dragged
- A drop before this row
- A drop inside this branch
- A drop after this row
- Not available
In React: a series of posts, moved and saved by the page
The React wrapper holds which branches are open; the page holds the nodes and saves each move (here, it writes the new order below).