Waypoint editor
v0.64.0, changelogBetaA robot's route as an ordered list of waypoints, edited in a list and on robot-map together, with actions on arrival, reordering, checks that say why Save is disabled and a read-only mode.
Roles
What a screen reader is told each part is, measured in the examples on the Overview tab.
applicationbuttoncomboboxgrouplistlistitemregionspinbuttonstatustextbox
- Follows the WAI-ARIA patterns Combobox and Spinbutton.
- Announces changes through a live region, so a screen reader reads an update without focus moving to it.
Keyboard
| Keys | Action |
|---|---|
| Tab | Move through Add waypoint, then each row's handle and row; the open row's fields, Duplicate and Delete; then the map and Save |
| Space on a handle | Lift the waypoint; `↑` / `↓` move it, `Space` drops it, `Esc` cancels (each move is announced) |
| Enter / Space on a row | Open or close its fields; its point is selected on the map |
| Delete / Backspace on a row | Delete the waypoint (Undo in the toast); focus moves to the next row |
| ↑ / ↓ in a number field | Step the value (Shift: a larger step) |
| ← → ↑ ↓, Enter, Delete on the map | The map's own keys: arrows move the crosshair, Enter adds a waypoint or picks one up, Delete removes the selected one (with Undo) |
Colour contrast
Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.
- TextLabels, values, bodyWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 17.3:1Dark 17.3:1
- Secondary textHints, meta, captionsWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 6.7:1Dark 7.0:1
- Danger textErrors, worse-than-before figuresWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 9.0:1Dark 6.8:1
- Warning textNeeds-attention words and shapesWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 6.0:1Dark 12.9:1
- Keyboard focus ringFocus visible, on every control in itWCAG 1.4.11 Non-text ContrastNeeds 3:1Light 17.3:1Dark 17.3:1