ARIA progressbar elements do not have accessible names
How to fix the aria-progressbar-name accessibility rule. ARIA.
The message you saw
Lighthouse runs axe-core inside it, so both are the same check, and the fix below works whichever tool showed you the message.
What it means
A progress bar made with role="progressbar" needs a name that says what is progressing: “Upload progress”, “Step 2 of 4”. This message means a progress bar has no aria-label, aria-labelledby or title.
Text inside the element doesn’t give it a name. A progress bar’s children are treated as decoration, so “Uploading…” written inside it isn’t used as the name.
Who is affected
A progress bar has no name, so screen readers say "progress bar, 40%" without saying what is loading.
Screen-reader users hear “progress bar, 40 percent” with no idea what is loading, which matters most when there are several on a page, or when a long task is running and they are waiting for it.
How to find it
- Run the checker on the page while the progress bar is showing: the report lists each unnamed one.
- Search your code (and loading-spinner components) for
role="progressbar".
How to fix it
- Add
aria-labelwith what is progressing, oraria-labelledbypointing at visible text that says it. - Give the current value with
aria-valuenow(andaria-valuemin/aria-valuemaxif it isn’t 0 to 100). Leavearia-valuenowout only when the progress is unknown (a spinner). - Or use the native
<progress>element with a<label>.
Example
Before
<div role="progressbar" aria-valuenow="40">
<div class="fill" style="width:40%"></div>
</div>After
<span id="up-label">Uploading report.pdf</span>
<div role="progressbar" aria-labelledby="up-label" aria-valuenow="40">
<div class="fill" style="width:40%"></div>
</div>Common mistakes
- Don’t announce every percentage change with a live region: it floods screen-reader users. Announce the start and the end, and let them check the bar when they want.
WCAG success criteria
When this rule fails, the page fails:
- 1.1.1 Non-text Content (Level A, WCAG 2.0, 2.1, 2.2)
Check your fix
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools. Scan again after your change: when the rule no longer appears under the problems, the fix worked.
An automated pass means this rule found nothing wrong. It doesn’t prove the page is accessible: some of what WCAG asks for needs a person to check, and the report’s manual checklist lists those steps.
Related fix guides
- ARIA
tooltipelements do not have accessible names - Elements with
role="dialog"orrole="alertdialog"do not have accessible names [role="img"]and[role="image"]elements must have alternative text[role]s do not have all required[aria-*]attributes
More detail
- Deque University’s reference for aria-progressbar-name (the makers of axe-core, the engine our scanner uses)
- W3C’s Understanding 1.1.1
- All fix guides