WCAG 4.1.2 · Level A
Aria Conditional Attr
- What is broken
- An ARIA attribute is present under conditions where it does not apply.
- 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 ARIA attributes that are only valid in states this element is not in.
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.