aria-hidden='true' must not be present on the document body

aria/aria-hidden-body · WCAG 4.1.2 · Level A

aria-hidden='true' must not be present on the document body.

Setting aria-hidden='true' on the body element hides all page content from assistive technologies, making the page completely inaccessible to screen reader users. Remove aria-hidden from the body element. If you need to hide content temporarily (e.g., behind a modal), use aria-hidden on specific sections instead.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0