ARIA States & Properties

aria-roledescription

Customizes the spoken or displayed description of a role without changing its underlying semantics. Use sparingly when the default role description is insufficient, not to conceal a familiar control type. Localize and test it. Value type: string. Accepted values: localized human-readable role description. Default or omitted behavior: none. Applicable context: valid explicit or implicit role with meaningful semantics. 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-roledescription="slide"

Parameters & Attributes

NameTypeDescription
aria-roledescriptionstringAccepted values: localized human-readable role description. Default or omitted behavior: none. Context: valid explicit or implicit role with meaningful semantics. Requiredness depends on the role.

Working Example

Example Snippethtml
<section aria-label="Chapter 1" aria-roledescription="slide">  <h2>Welcome</h2></section>
HTML Reference