aria-hidden="true" must not be present on the document body
What is the problem?
The aria-hidden="true" attribute is used to hide content from screen readers. However, applying it to the entire document body can make the entire page inaccessible to screen reader users.
Impacted Groups
Why is this important?
Screen reader users rely on the content of web pages to access information and complete tasks. If the entire page is hidden from screen readers, these users will be unable to use the website.
How to solve this issue
To fix this issue, remove the aria-hidden="true" attribute from the <body> element. If you need to hide specific content, use other techniques like CSS or JavaScript that are accessible to screen reader users.
Rule Information
Rule ID
aria-hidden-body
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.