- Docs
- Components
- Navigation
Steps
Where a person is in a setup of a few steps: done, current and to come.
- Import
- @qeetrix/react/experimental
- Status
- ExperimentalSince 0.0.6
- Renders
<ol>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Keyboard
| Keys | What happens |
|---|---|
| TabTab | To each done step, with onStepSelect. |
| EnterSpace | Goes back to it. |
02
Behaviour
- List
- An ordered list named "Progress": its length is read.
- Current
- aria-current="step" on the current step.
- State
- Others are read with "Completed" or "Not started" after the name.
- Narrow
- Only the current label shows; every name is still read.
03
Tested
On every change, before it ships.
- axe, WCAG 2.2 A and AA, in Chromium on every pull request
- Firefox and WebKit every night
- Keyboard: every key in the table, in a test
- Forced colours, reduced motion and right to left