Axe rule guides
aria-valid-attrcritical

Fix aria-valid-attr axe errors

An ARIA attribute is misspelled or invalid, so browsers and assistive technology may ignore it.

Affected users

Assistive technology users who rely on correct names, roles, states, and properties.

WCAG mapping

4.1.2 Name, Role, Value (A)

Detection

wcagc reports invalid ARIA attributes and keeps them mapped to the robust-name-role-value bucket.

Failing markup

<button aria-lable="Close">x</button>

Fixed code

<button aria-label="Close">x</button>

Sources and standards

FAQ

Can invalid ARIA make valid HTML worse?

Yes. Incorrect ARIA can hide or distort semantics that native HTML would otherwise provide.

How do I prevent this class of issue?

Use native controls where possible, type-check component props, and keep automated accessibility checks in CI.

Scan the rest of the page

One rule rarely travels alone

Run a page through wcagc to find this rule, related WCAG issues, affected selectors, and manual checks that automation cannot judge.

Scan a page