---
title: "A: Required ARIA attributes must be provided (WCAG 4.1.2)"
description: "A: Required ARIA attributes must be provided (WCAG 4.1.2) SiteCockpit Monitoring"
---

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

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

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-required-attr)
    - [Deutsch](https://help.sitecockpit.com/de/dokumentation/easymonitoring-checks/automatische-pruefungen/aria-required-attr)
  
  
  
  
  
  
  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: Required ARIA attributes must be provided (WCAG 4.1.2)

## aria-required-attr

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

Ensure that elements with ARIA roles have all required ARIA attributes.

### **This means**

Certain roles require mandatory attributes. Examples:  
`slider` needs `aria-valuemin`, `aria-valuemax`, `aria-valuenow`;  
`checkbox` and `switch` need `aria-checked`;  
`tab` needs `aria-selected`;  
`progressbar` needs values and a name.  
If these details are missing, assistive technology cannot correctly announce state and range.

### **Impact**

Users do not understand the meaning and status of controls. Interaction patterns work unreliably, leading to frequent errors and interruptions. The result is violations of the WCAG.

### **Recommendation**

- Use native HTML elements whenever possible.
- Always set all mandatory attributes for ARIA roles according to the specification and keep them updated during state changes.
- Assign names using `aria-label` or `aria-labelledby`.
- Verify with automated checks and screen reader tests.

### **Example**

*Problematic*

```
<div role="slider"></div>
```

*Better*

```
<p id="vol-label">Volume</p><div role="slider"     aria-labelledby="vol-label"     aria-valuemin="0"     aria-valuemax="100"     aria-valuenow="30"></div>
```

*Second example*

*Problematic*

```
<div role="checkbox">Newsletter</div>
```

*Better*

```
<div role="checkbox" aria-checked="false" tabindex="0">Newsletter</div>
```

**Related WCAG criterion:**  
*[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