---
title: A: aria-hidden='true' must not be present on the document body (WCAG 1.3.1 + 4.1.2)
description: A: aria-hidden='true' must not be present on the document body (WCAG 1.3.1 + 4.1.2) SiteCockpit Monitoring
---

[Skip to content](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body#main-content)

- [English](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body)
- [Deutsch](https://help.sitecockpit.com/de/dokumentation/easymonitoring-checks/automatische-pruefungen/aria-hidden-body)

English

Show submenu for translations

![SiteCockpit Logo](https://help.sitecockpit.com/hs-fs/hubfs/siteCockpit%20mit%20claim_rgb.png?width=328&height=92&name=siteCockpit%20mit%20claim_rgb.png)

- [Tickets](https://hub.sitecockpit.com/portal)
- [Dokumentation](https://help.sitecockpit.com/de/dokumentation)
- [Abmelden](https://146086235.hs-sites-eu1.com/_hcms/mem/logout)

Open main navigation

Close main navigation

- [Tickets](https://hub.sitecockpit.com/portal)
- [Dokumentation](https://help.sitecockpit.com/de/dokumentation)
- [Abmelden](https://146086235.hs-sites-eu1.com/_hcms/mem/logout)
- - [English](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body)
    - [Deutsch](https://help.sitecockpit.com/de/dokumentation/easymonitoring-checks/automatische-pruefungen/aria-hidden-body)
  
  
  
  
  
  
  English
  
  Show submenu for translations
- [Contact us](mailto:kontakt@sitecockpit.com)

[Contact us](mailto:kontakt@sitecockpit.com)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Documentation](https://help.sitecockpit.com/en/documentation?hsLang=en)
2. [Backend](https://help.sitecockpit.com/en/documentation/backend?hsLang=en)
3. [easyMonitorung automatic checks](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easymonitorung-automatic-checks)

# A: aria-hidden='true' must not be present on the document body (WCAG 1.3.1 + 4.1.2)

## aria-hidden-body

- [**Meaning**](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body#This-means)
- [**Impact**](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body#Impact)
- [**Recommendation**](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body#Recommendation)
- [**Examples**](https://help.sitecockpit.com/en/documentation/easymonitoring-checks/automated-checks/aria-hidden-body#Example)

Ensure that `aria-hidden="true"` is not used on the `<body>` element of the document.

### **This means**

If `aria-hidden="true"` is set on the `<body>`, the **entire page** will be hidden from screen readers. Assistive technologies will no longer see accessible content – navigation and context are lost.

### **Impact**

The page appears **empty** or **unusable** to users with screen readers; focus and reading order break down. This leads to abandonment and a clear **WCAG violation**.

### **Recommendation**

- **Never** use `aria-hidden` on the `<body>` element.
- Only hide **specific areas** (e.g., background content when a dialog is open).
- For modals: temporarily apply `aria-hidden="true"` (and optionally `inert`) to the background area (e.g., `<main>`); set the dialog with `role="dialog"` + `aria-modal="true"`.
- **Reset states after closing.**

### **Example**

*Problematic*

```
<body aria-hidden="true">  <main>…content…</main></body>
```

*Better*

```
<body>  <main id="page-content" aria-hidden="true">…content…</main> <!-- e.g., during modal -->  <div role="dialog" aria-modal="true" aria-labelledby="dlg-title">    <h2 id="dlg-title">Notice</h2>    …  </div></body>
```

**Related WCAG criterion:**  
[WCAG 1.3.1 - Info and Relationships](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html)  
*[WCAG 4.1.2 – Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value.html)*

 

- [General Information](https://help.sitecockpit.com/en/documentation/general-information?hsLang=en#main-content)
  
  
  
  
  
    - [Information](https://help.sitecockpit.com/en/documentation/general-information?hsLang=en#information)
    - [Dashboard](https://help.sitecockpit.com/en/documentation/general-information?hsLang=en#dashboard)
- [Backend](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#main-content)
  
  
  
  
  
    - [easyVision](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easyvision)
    - [easyMonitoring](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easymonitoring)
    - [easyMonitorung manual checks](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easymonitorung-manual-checks)
    - [easyMonitorung automatic checks](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easymonitorung-automatic-checks)
    - [easyAI](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easyai)
    - [easyStatement](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easystatement)
    - [Contrast Checker](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#contrast-checker)
    - [easyLanguage](https://help.sitecockpit.com/en/documentation/backend?hsLang=en#easylanguage)
- [easyVision integration](https://help.sitecockpit.com/en/documentation/easyvision-integration?hsLang=en#main-content)
  
  
  
  
  
    - [Setup](https://help.sitecockpit.com/en/documentation/easyvision-integration?hsLang=en#setup)
    - [Installlation](https://help.sitecockpit.com/en/documentation/easyvision-integration?hsLang=en#installlation)
    - [Browser Extensions](https://help.sitecockpit.com/en/documentation/easyvision-integration?hsLang=en#browser-extensions)
- [Servicepartner](https://help.sitecockpit.com/en/documentation/servicepartner?hsLang=en#main-content)
  
  
  
  
  
    - [General Information](https://help.sitecockpit.com/en/documentation/servicepartner?hsLang=en#general-information)
    - [Stripe](https://help.sitecockpit.com/en/documentation/servicepartner?hsLang=en#stripe)
- [Support](https://help.sitecockpit.com/en/documentation/support?hsLang=en#main-content)
  
  
  
  
  
    - [FAQ](https://help.sitecockpit.com/en/documentation/support?hsLang=en#faq)
    - [Ticket system](https://help.sitecockpit.com/en/documentation/support?hsLang=en#ticket-system)

[![siteCockpit rgb](https://help.sitecockpit.com/hs-fs/hubfs/siteCockpit%20rgb.png?width=200&height=42&name=siteCockpit%20rgb.png "siteCockpit rgb")](https://www.sitecockpit.com/)

Telefon: +49(0)30 403 64 98 98  
E-Mail: kontakt@sitecockpit.com

<https://www.facebook.com/sitecockpit/> <https://de.linkedin.com/company/sitecockpit> <https://www.instagram.com/sitecockpit/> <https://www.youtube.com/@SiteCockpit> [mailto:kontakt@sitecockpit.com](mailto:kontakt@sitecockpit.com)

Copyright © 2025, Site Cockpit GmbH