ARIA attribute is not valid

  • WCAG 4.1.2 Name, Role, Value, level A
  • Serious
  • ARIA
  • Automated
  • Server pass

Why it matters

A misspelt or made-up aria- attribute does nothing, so the information never reaches assistive technology.

How to fix it

Check the spelling against the WAI-ARIA attribute list, or remove the attribute.

<!-- Before -->
<button aria-expand="false">

<!-- After -->
<button aria-expanded="false">

Read the W3C guidance: Understanding 4.1.2 Name, Role, Value.

Related rules

Find this on your own site. A11yMate scans every page and lists where it happens. See pricing or browse all rules.