Steps
On this page
Steps show where someone is in a short, ordered process such as a setup wizard: which steps are done, which one is current, and what's left.


Figure 1: A finished step, the current step and a step still to come
<ol class="ph-steps" aria-label="Setup progress">
<li data-done>Connect accounts</li>
<li aria-current="step">Import contacts</li>
<li>Go live</li>
</ol>
| Attribute | Shows |
|---|---|
data-done | A green tick: the step is finished |
aria-current="step" | A blue number: the step in progress |
| (none) | A grey number: still to come |
Steps are a display only. Move between steps in your own code, updating the attributes as you go.
Guidelines
- Three to five steps. More than that is usually two processes.
- Name steps with short nouns or verbs ("Accounts", "Import contacts").
- Use them inside the wizard pattern, on a narrow page.
Related
- Page patterns: the wizard
- Tabs