aria-roledescription must be on elements with a semantic role
What is the problem?
The aria-roledescription attribute is used to provide a more specific description of an element's role. However, it should only be used on elements that already have an explicit or implicit ARIA role.
Impacted Groups
Why is this important?
Using aria-roledescription on elements without a defined role can confuse assistive technologies, potentially leading to incorrect information being conveyed to users. This can make it harder for users to understand the purpose of the element and how to interact with it.
How to solve this issue
To fix this issue, ensure that the element you want to describe with aria-roledescription has a defined ARIA role. This can be done by using an explicit ARIA role attribute or by relying on the implicit role assigned to the HTML element.
Rule Information
Rule ID
aria-roledescription
Severity
Manual Review Required
Rule Group
Deprecated 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.