Skip to content
Design System
GitHub

Waypoint editor

v0.64.0, changelogBeta

A 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.

  • application
  • button
  • combobox
  • group
  • list
  • listitem
  • region
  • spinbutton
  • status
  • textbox
  • 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

KeysAction
TabMove 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 handleLift the waypoint; `↑` / `↓` move it, `Space` drops it, `Esc` cancels (each move is announced)
Enter / Space on a rowOpen or close its fields; its point is selected on the map
Delete / Backspace on a rowDelete the waypoint (Undo in the toast); focus moves to the next row
↑ / ↓ in a number fieldStep the value (Shift: a larger step)
← → ↑ ↓, Enter, Delete on the mapThe 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.