--- url: "https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA4" titulek: "ARIA4: Using a WAI-ARIA role to expose the role of a user interface component | WAI | W3C" h1: "Technique ARIA4:Using a WAI-ARIA role to expose the role of a user interface component" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 06:29:54" znaku: 2661 slov: 351 kodovani: "utf-8" sha256: "1b3f89354f1ad92bc451f1d219caa2be7ade1656480c31c6bc2e3f106449ad0b" --- # Technique ARIA4:Using a WAI-ARIA role to expose the role of a user interface component ## About this Technique This technique relates to [4.1.2 Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) (**Sufficient** when used with [G10: Creating components using a technology that supports the accessibility … notification of changes](../general/G10)). This technique applies to technologies that support [Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/TR/wai-aria/). Techniques are examples of ways to meet Web Content Accessibility Guidelines (WCAG). They are **not required** to meet WCAG. Content can satisfy the normative requirements of WCAG even if it does not use any of the documented techniques. See [About WCAG Techniques](https://www.w3.org/WAI/WCAG22/Techniques/about). ## Description The objective of this technique is to define the role of an element using the `role` attribute with one of the non-abstract values defined in the [WAI-ARIA Definition of Roles](https://www.w3.org/TR/wai-aria/#role_definitions). The WAI-ARIA specification provides an informative description of each role, how it relates to other roles, and the states and properties for each role. When rich internet applications define new user interface widgets, exposing the roles enables users to understand the widget and how to interact with it. ## Examples ## Related Resources *No endorsement implied.* - [Accessible Rich Internet Applications (WAI-ARIA), Roles](https://www.w3.org/TR/wai-aria/#usage_intro) - [Accessible Rich Internet Applications (WAI-ARIA), The Roles Model](https://www.w3.org/TR/wai-aria/#roles) - [HTML Accessibility API Mappings 1.0](https://www.w3.org/TR/html-aam-1.0/) - [WAI-ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/) - [Notes on using ARIA in HTML](https://www.w3.org/TR/aria-in-html/) ## Tests ### Procedure For a user interface component using the `role` attribute: 1. Check that the value of the role attribute is one of the non-abstract roles from the values defined in the WAI-ARIA specification. 2. Check that the characteristics of the user interface component are described by the role. ### Expected Results - #1 and #2 are true. ## Test Rules The following are Test Rules related to this Technique. It is not necessary to use these particular Test Rules to check for conformance with WCAG, but they are defined and approved test methods. For information on using Test Rules, see [Understanding Test Rules for WCAG Success Criteria](https://www.w3.org/WAI/WCAG22/Understanding/understanding-act-rules.html). - [Role attribute has valid value](/WAI/standards-guidelines/act/rules/674b10/) Back to Top