ARIA States & Properties

aria-details

Links an element to structured supplementary information that may be too complex for a flat description. It does not simply concatenate the target text into the accessible description. Make the detailed content reachable and understandable independently. Value type: ID reference list. Accepted values: space-separated IDs of detailed content. Default or omitted behavior: none. Applicable context: global relationship; verify navigation support. 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-details="details"

Parameters & Attributes

NameTypeDescription
aria-detailsID reference listAccepted values: space-separated IDs of detailed content. Default or omitted behavior: none. Context: global relationship; verify navigation support. Requiredness depends on the role.

Working Example

Example Snippethtml
<button aria-details="details">Export</button><div id="details">  <h2>Export details</h2>  <ul>    <li>CSV format</li>    <li>UTF-8 encoding</li>  </ul></div>
HTML Reference