The page body is hidden from assistive technology
Automated check aria-hidden-body, run with axe-core
- WCAG
- 1.3.1 Info and Relationships, 4.1.2 Name, Role, Value (Level A)
- Severity
- Blocker: a task cannot be completed
- Typical effort
- Quick win, under 1 hour
- Category
- Code quality
Who this affects
All screen reader users.
Why it matters
aria-hidden on <body> makes the entire page invisible to assistive technology. Usually a modal library that failed to clean up after closing.
How to fix it
Remove aria-hidden from <body> and ensure modal libraries restore it on close.
Check your own website
The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.
Related checks: Code quality
- ARIA attributes used on the wrong elements
- ARIA roles that do not suit the element
- Braille-only ARIA attributes have no spoken equivalent
- ARIA attributes used in ways the role does not allow
- Deprecated ARIA roles are used
- ARIA labels placed on elements that cannot carry them
- ARIA roles are missing their required attributes
- Menus, lists or tabs are missing their required child elements