--- url: "https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA10" titulek: "ARIA10: Using aria-labelledby to provide a text alternative for non-text content | WAI | W3C" h1: "Technique ARIA10:Using aria-labelledby to provide a text alternative for non-text content" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 03:49:45" znaku: 2727 slov: 379 kodovani: "utf-8" sha256: "0f6057841a33bb2d35dd90c5dcebb9615022a4f79dda1988cdb505235e95dfe4" --- # Technique ARIA10:Using aria-labelledby to provide a text alternative for non-text content ## 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 HTML with [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 short description for an element that can be read by assistive technologies by using the `aria-labelledby` attribute. The `aria-labelledby` attribute associates an element with text that is visible elsewhere on the page by using an `id` reference value that matches the `id` attribute of the labeling element. Assistive technology such as screen readers use the text of the element identified by the value of the `aria-labelledby` attribute as the text alternative for the element with the attribute. ## Examples ### Example 1: Providing a short description for a complex graphic This example shows how to use the `aria-labelledby` attribute to provide a short text description for a read-only complex graphic of a star rating pattern; the graphic is composed of several image elements. The text alternative for the graphic is the label, visible on the page beneath the star pattern. ```
4 of 5
``` Working example: [Providing a short description for a complex graphic](../../working-examples/aria-labelledby-description-complex-graphic/). ## Related Resources *No endorsement implied.* - [WAI-ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/) - [HTML Accessibility API Mappings](https://www.w3.org/TR/html-aam/) - [Accessible Name and Description Computation](https://www.w3.org/TR/accname/) ## Tests ### Procedure 1. Examine each element where the `aria-labelledby` attribute is present and the element does not support the `alt` attribute. 2. Check whether the value of the `aria-labelledby` attribute is the `id` of an element on the web page. 3. Determine that the text of the element identified by the `aria-labelledby` attribute accurately labels the element, provides a description of its purpose, or provides equivalent information. ### Expected Results - #2 and #3 are true. Back to Top