ARIA States & Properties
aria-relevant
Specifies the kinds of changes in a live region that are relevant for notification. Removal announcements are not normally needed; use them when meaningful. It does not ensure a particular announcement across all AT. Value type: token list. Accepted values: additions, removals, text, all (valid combinations). Default or omitted behavior: additions text. Applicable context: live regions. 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-relevant="additions text"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| aria-relevant | token list | Accepted values: additions, removals, text, all (valid combinations). Default or omitted behavior: additions text. Context: live regions. Requiredness depends on the role. |
Working Example
Example Snippethtml
<div role="log" aria-label="Activity" aria-relevant="additions text" id="log"></div><button onclick="const p=document.createElement('p');p.textContent='Saved';document.getElementById('log').append(p)">Add entry</button>