ARIA States & Properties
aria-describedby
Connects an element to supplementary descriptive text. Keep its accessible name separate and concise; descriptions can explain constraints or consequences. References may point to hidden text under accessible-name calculation rules. Value type: ID reference list. Accepted values: space-separated IDs of descriptive elements. Default or omitted behavior: none. Applicable context: global where applicable. 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-describedby="hint"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| aria-describedby | ID reference list | Accepted values: space-separated IDs of descriptive elements. Default or omitted behavior: none. Context: global where applicable. Requiredness depends on the role. |
Working Example
Example Snippethtml
<label for="pw">Password</label><input id="pw" type="password" aria-describedby="hint"><p id="hint">Use at least 12 characters.</p>