ARIA States & Properties

aria-live

Indicates announcement priority for dynamic content. Polite normally waits for a suitable pause; assertive may interrupt. Establish the live region before updating it and avoid announcing every keystroke. Value type: token. Accepted values: off, polite, assertive. Default or omitted behavior: off unless role specifies otherwise. Applicable context: global; 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-live="polite"

Parameters & Attributes

NameTypeDescription
aria-livetokenAccepted values: off, polite, assertive. Default or omitted behavior: off unless role specifies otherwise. Context: global; live regions. Requiredness depends on the role.

Working Example

Example Snippethtml
<p aria-live="polite" id="notice"></p><button onclick="document.getElementById('notice').textContent='Changes saved'">Save</button>
HTML Reference