aria-hidden-body
aria-hidden="true" must not be present on the document <body>
Who might be affected
Screen Reader
Voice Control
Description
The aria-hidden
attribute removes elements from the accessibility tree.
Setting it to the <body>
element will make the entire interface unavailable to screen
readers and other assistive technologies that rely on the accessibility tree.
Quick Fixes
Remove the "aria-hidden" attribute with the <body> element.
1✗ <body aria-hidden="true">2 <!-- Page content -->3 </body>45✓ <body>6 <!-- Page content -->7 </body>
How Users Are Affected
Users of assistive technologies, which rely on the accessibility tree, will not be able to get to the page content or use it properly.
WCAG Success criteria
This issue might cause elements to fail one or more of the following Success criteria:
4.1.2 Name, Role, Value (A)