Skip to main content
Raasta
CriticalWCAG 4.1.2 · Level Aaria-valid-attr

ARIA attribute name is misspelt

An attribute that starts with aria- but isn’t a real ARIA attribute, such as aria-labeledby or aria-role, is ignored by browsers and screen readers. Correct the spelling to a real attribute, such as aria-labelledby, or remove it.

Who it hurts

Screen reader users, who miss the label, description or state the attribute was meant to provide.

Typos are invisible on screen and in most code reviews. aria-labeledby (one “l”) is the classic: the label it points to is never read.

How to fix it

Pick your stack. Review every change before you ship it.

Before

<section aria-labeledby="reviews-title">

After

<section aria-labelledby="reviews-title">

Check it by hand too

Search your templates for “aria-” and check each name against the ARIA list. Then confirm with a screen reader that the label or state is read.

Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.

WCAG reference