WCAG 4.1.2 · Level A

Aria Prohibited Attr

What is broken
ARIA attributes are used where the role explicitly forbids them.
Who it affects
Assistive technology is handed contradictory information about the control, so it may be announced wrongly or skipped entirely.
How to fix it
Remove prohibited ARIA attributes from the element's role.

Check your site for this issue

Free scan — no signup required. Covers WCAG 2.1 AA across 64 rules including this one.

Scan my site →

Automated testing detects roughly a third of WCAG 2.1 success criteria. This rule is detected automatically; issues such as keyboard traps, focus order, and screen-reader flow still require manual review. Not legal advice.