Conformance
Progress meets WCAG 2.2 level AA when used as described on these pages.
Keyboard
A progress bar takes no focus.
What Progress gives you
role="progressbar"with the current, lowest and highest value.- Fill against track: 12.7:1 in light and dark, so the amount done is clear.
- Reduced motion: the fill jumps instead of sliding.
What your team does
- Name every bar with
aria-labeloraria-labelledby. - Show the amount in text too, and pass
getValueLabelwhen a count reads better than a percentage. - Announce the start and the end of the task in a status line (
role="status"), not every step.
WCAG criteria
| Criterion | Level | How |
|---|---|---|
| 1.1.1 Non-text Content | A | The bar has a name and a value |
| 1.4.11 Non-text Contrast | AA | Fill on track 12.7:1 |
| 4.1.2 Name, Role, Value | A | role="progressbar", aria-valuenow |
| 4.1.3 Status Messages | AA | Your status line for start and end |