--- url: "https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA6" titulek: "ARIA6: Using aria-label to provide labels for objects | WAI | W3C" h1: "Technique ARIA6:Using aria-label to provide labels for objects" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 03:49:44" znaku: 2637 slov: 374 kodovani: "utf-8" sha256: "ababc6d083c277f6c68272cc41c7d64853d679178778c501cbca52db3ee9f959" --- # Technique ARIA6:Using aria-label to provide labels for objects ## About this Technique This technique relates to [1.1.1 Non-text Content](https://www.w3.org/WAI/WCAG22/Understanding/non-text-content) (**Sufficient**). 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 purpose of this technique is to provide a label for objects that can be read by assistive technology. The `aria-label` attribute provides the text label for an object, such as a button. When a screen reader encounters the object, the `aria-label` text is read so that the user will know what it is. Authors should be aware that `aria-label` may be disregarded by assistive technologies in situations where `aria-labelledby` is used for the same object. For more information on the naming hierarchy please consult the [accessible name and description computation](https://www.w3.org/TR/accname/#mapping_additional_nd_te) section of the Accessible Name And Description Computation recommendation. Authors should be aware that use of `aria-label` will override any native naming such as `alt` on images or `label` associated with a form field using the `for` attribute. ## Examples ### Example 2: Identifying region landmarks The following example shows how a generic "region" landmark might be added to a weather portlet. There is no existing text on the page that can be referenced as the label, so it is labelled with `aria-label`. ```
...
``` ### Example 3: Providing a label for Math Below is an example of a MathML function, using the math role, appropriate label, and MathML rendering: ```
6 4 = 1.5
``` ## Related Resources *No endorsement implied.* - [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/) ## Tests ### Procedure For each element where an `aria-label` attribute is present. 1. Examine whether the text description accurately labels the object or provides a description of its purpose or provides equivalent information. ### Expected Results - #1 is true. Back to Top