ARIA States & Properties
aria-labelledby
Computes an accessible name from referenced elements in the listed order. It takes precedence over aria-label in applicable name computation. Ensure IDs exist; prefer native label for form controls where possible. Value type: ID reference list. Accepted values: space-separated IDs of name-providing elements. Default or omitted behavior: none. Applicable context: roles permitting naming. Use only where allowed for the element’s implicit or explicit role. ARIA describes accessibility semantics; it does not automatically implement the associated behavior. Test with the relevant browser and assistive technology.
Formal Syntax & Structure
html syntaxhtml
aria-labelledby="title"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| aria-labelledby | ID reference list | Accepted values: space-separated IDs of name-providing elements. Default or omitted behavior: none. Context: roles permitting naming. Requiredness depends on the role. |
Working Example
Example Snippethtml
<h2 id="title">Account settings</h2><section aria-labelledby="title"> <p>Manage preferences.</p></section>