Skip to content

Rule · Accessibility

Invalid ARIA attribute name

a11y/aria-valid-attrerrorvoid a11yupdated

Why it matters

Browsers ignore misspelled aria-* attributes (aria-labeledby, aria-role), so the label or state never reaches assistive technology.

How to fix it

Correct the attribute name to one defined in WAI-ARIA, such as aria-labelledby or aria-describedby.

References

void a11y reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.