ARIA attributes must be used as specified for the element's role

Serious

What is the problem?

The aria-conditional-attr rule ensures that certain ARIA attributes are only used on an element under certain conditions.

Impacted Groups

Blind
Deafblind
Mobility

Why is this important?

Using ARIA attributes incorrectly can confuse screen readers and other assistive technologies. This can lead to inaccurate information being conveyed to users, making it harder for them to understand and interact with the content.

How to solve this issue

To fix this, ensure that the ARIA attributes are used correctly with the role of the element. For example, `aria-checked` should not be used on an HTML input element with type="checkbox" as the checked state is determined by the browser.

Rule Information

Rule ID

aria-conditional-attr

Severity

Serious

Manual Review Required

No

Rule Group

WCAG 2.0 Level A & AA Rules

Guidelines

  • WCAG 2.1 (A)
  • WCAG 2.0 (A)
  • WCAG 2.2 (A)
  • EN 301 549

Customise Guidance

You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.

Enable your website editors to resolve issues quickly with SiteAlly.

Ready to make your website accessible?

SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.