Certain ARIA roles must be contained by particular parents
What is the problem?
The aria-required-parent rule ensures that ARIA elements are used correctly within their appropriate parent elements.
Impacted Groups
Why is this important?
Screen reader users rely on the correct structure of elements to understand the content and navigate the page. If ARIA elements are not used correctly, screen readers may struggle to interpret the information, making it difficult for users to access the content.
How to solve this issue
To fix this issue, ensure that ARIA elements are nested within their appropriate parent elements. For example, a menuitem should be placed within a menu or menubar. By following these guidelines, developers can provide a clear and accessible structure for screen reader users.
Rule Information
Rule ID
aria-required-parent
Severity
Manual Review Required
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.