NeovaPlateforme SEO avancée

Barre de progression sans nom accessible

Dans Neova S'exécute à partir du crawl lui-même : rien à configurer.

Règle revue le 17 octobre 2026 · Guide mis à jour le 7 juillet 2026

Le critère WCAG 1.1.1 exige une alternative textuelle. Une barre de progression sans nom donne aux utilisateurs de lecteurs d'écran une valeur sans contexte. Le texte placé dans l'élément ne compte pas comme un nom.

Ce que vous pouvez faire

Ajoutez aria-label, aria-labelledby, title ou un élément label à la barre de progression.

Pourquoi Neova le signale

  • Une barre de progression sans nom est lue comme un simple pourcentage : les utilisateurs ne savent pas ce qui se charge.
  • Le critère WCAG 1.1.1 (niveau A) exige une alternative textuelle pour tout contenu non textuel.
  • Le texte d'une barre de progression ne devient pas son nom : il lui faut son propre label.

Sources

Le guide complet

Cette partie est en anglais pour l'instant.

What This Check Flags

This rule fires when an element with role="progressbar" has no accessible name. A screen reader reaches it and announces “progress bar, 40 percent” — forty percent of what? Upload? Checkout? Quiz score? Without a name the number is meaningless. Progress indicators are usually the feedback for a slow operation, so an unnamed one leaves assistive-tech users guessing whether the thing they just started is even working. It won’t move rankings, but it’s a clean, cheap Lighthouse win and a genuine usability fix.

The reason this one stings is timing. A progressbar shows up precisely when the user is anxious — they’ve submitted a form, kicked off a big file upload, or triggered a report that takes a while. A sighted user glances at the caption and the moving bar and relaxes: it’s working, give it a moment. Strip the name and a screen-reader user gets a bare percentage floating in space with no idea what it’s measuring. Did the upload start, or is this some other counter? The single word of context a name provides is the difference between reassurance and a page reload that cancels the very operation they were waiting on.

A Real Failing Snippet, and the Fix

A typical upload widget sets the value attributes but never names the bar:

<!-- FAILS: progressbar with value but no name -->
<div role="progressbar"
     aria-valuenow="40"
     aria-valuemin="0"
     aria-valuemax="100"></div>

The value states are fine; what’s missing is a label. If there’s visible caption text, wire it up with aria-labelledby; if not, add an aria-label that says what’s progressing:

<!-- PASSES: the bar now names what it's tracking -->
<span id="upload-lbl">Uploading photos</span>
<div role="progressbar"
     aria-labelledby="upload-lbl"
     aria-valuenow="40"
     aria-valuemin="0"
     aria-valuemax="100"></div>

<!-- or, with no visible caption -->
<div role="progressbar"
     aria-label="Uploading photos"
     aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"></div>

Best of all, the native <progress> element paired with a <label> gives you the role, the value semantics, and the name without a single ARIA attribute. Reach for it first.

Name vs. Value: Two Different Jobs

People conflate the label with the percentage. They’re separate concerns — the name says what it is, the value states say how far along it is. A progressbar needs both to announce cleanly.

Attribute Answers Example
aria-label / aria-labelledby What is this bar for? “Uploading photos”
aria-valuenow Where is it right now? 40
aria-valuemin / aria-valuemax What’s the range? 0 – 100
aria-valuetext A human-readable value (optional) “Step 2 of 5”

For an indeterminate spinner where you can’t report a percentage, omit aria-valuenow entirely — but the accessible name is still required.

How to Detect It

  1. axe DevTools: the “ARIA progressbar must have an accessible name” violation lists each unnamed bar and points to the node in the DOM.
  2. Lighthouse: run the Accessibility audit; the check sits in the ARIA group with the failing progressbars enumerated beneath it.
  3. ARIA DevTools / accessibility tree: select the progressbar in the Accessibility panel and read the computed Name. Empty means it still fails, regardless of what the DOM looks like.

How to Fix It

  1. Locate the flagged element and confirm it really needs to be a progressbar (a static bar that never updates might not).
  2. If a visible caption exists, add aria-labelledby referencing its id.
  3. Otherwise add a short, specific aria-label describing the operation.
  4. Keep the value attributes accurate — a name without a moving aria-valuenow tells only half the story.
  5. Consider swapping to native <progress> with a <label>.
  6. Re-scan and confirm the computed name is populated.

One design decision that quietly prevents this bug: if the bar has a visible caption anyway — “Uploading photos… 40%” — wire that existing text in with aria-labelledby instead of duplicating it in an aria-label. You get one source of truth, so when the copy changes the accessible name changes with it, and there’s no risk of the visible caption and the announced name drifting apart over time. Duplicated label strings are how a “Saving draft” caption ends up reading as “Uploading photos” six months later.

If your value attributes are also out of range (a valuenow above valuemax, for instance), that’s a separate failure — see ARIA attributes must conform to valid values.

FAQ

My Progressbar Is Decorative — Do I Still Need a Name?

If it conveys no real status, it probably shouldn’t have role="progressbar" at all. Remove the role, or mark the wrapper aria-hidden="true" if it’s purely visual. Once it declares the role, a name is mandatory.

Can the Percentage Text Inside the Bar Serve as the Name?

No — “40%” is a value, not a name. Even if that text is read, it doesn’t tell anyone what the bar measures. Add an explicit label.

What About an Indeterminate Loading Bar With No Known Duration?

Drop aria-valuenow so it’s announced as indeterminate, but keep the accessible name (e.g. “Loading results”). The name requirement doesn’t go away just because the value is unknown.

How Is This Different From the Input-Field Name Check?

Same underlying naming mechanics, different role. The input-field rule covers textbox, combobox, and friends — see ARIA input fields must have an accessible name. This one is scoped to progressbar.

Should I Also Announce Progress Changes as They Happen?

Often, yes — and it’s a separate concern from naming. A named progressbar tells a screen reader what the control is, but by default the reader won’t re-announce every tick as the value climbs. If it matters that the user hears updates (a long export, say), pair the bar with a polite live region, or let the platform’s native <progress> handling take care of it. Just don’t make it chatty: announcing every single percent from 1 to 100 is its own accessibility problem. Name it first, then decide whether live updates earn their keep.

Trouvez ce problème sur votre site

Neova lance ce check et tous les autres à chaque crawl, puis rédige la correction sous forme de ticket pour votre équipe.

  • Application de bureau pour Mac, Windows et Linux
  • Les 696 checks, chacun avec sa source
  • Search Console et Analytics 4, connectés en lecture seule
  • Tickets vers Jira, Linear et Asana

Télécharger Neova Offre Desktop Free, ou Solo gratuit pendant 14 jours, sans carte.

Tous les checks de la catégorie Accessibilité · Guides · Bibliothèque des checks

Rédigé par Neova Labs · Retour à la Bibliothèque des checks