ARIA States & Properties

aria-atomic

Controls whether a live-region change should be conveyed as the entire region or just changed portions. Use true if context is needed to understand a changed value. This affects announcements, not rendering. Value type: boolean. Accepted values: true, false. Default or omitted behavior: false. 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-atomic="true"

Parameters & Attributes

NameTypeDescription
aria-atomicbooleanAccepted values: true, false. Default or omitted behavior: false. Context: live regions. Requiredness depends on the role.

Working Example

Example Snippethtml
<p role="status" aria-atomic="true" id="count">Items: 0</p><button onclick="document.getElementById('count').textContent='Items: 1'">Add item</button>
HTML Reference