Element.ariaAtomic reflects the aria-atomic attribute (MDN). It tells assistive technologies whether to present the entire changed live region ("true") or only the changed parts ("false"), based on change notifications from aria-relevant.
Read the notes below before you get or set this property. Prefer feature detection when support is limited.
Syntax
Use el.ariaAtomic. Start with this line.
JavaScript
element.ariaAtomic
Call
What it does
element.ariaAtomic
Primary signature.
Built into the browser. Read or assign el.ariaAtomic — no import required.
Library declarations
JavaScript
element.ariaAtomic
Parameters
This member has no parameters beyond those shown in the signature.
Return Value
Return Value
Description
*
The current value of el.ariaAtomic.
JavaScript Examples
Example 1 — Read ariaAtomic (MDN)
Read the reflected string from a timer live region.
JavaScript
const el = document.getElementById("clock");
console.log(el.ariaAtomic);
// → "true"
Assign the other value. Simple flip for demos/settings.
Log the new mode so you can verify the change.
In real UIs, pick a stable mode for the widget type.
Compatibility
Browser Support
Element.ariaAtomic is Baseline Widely available on MDN (across browsers since October 2023). Safe to use for reflecting aria-atomic on live regions.
✓ Baseline Widely available
Element.ariaAtomic
Reflect aria-atomic for live regions — widely supported.
WideBaseline
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
Android WebViewSupported · Modern WebView
Full support
ariaAtomicWidely available
Bottom line: Use string "true" / "false". Pair with aria-live (and often aria-relevant). Reading/writing updates the aria-atomic attribute.
Frequently Asked Questions
It reflects the aria-atomic attribute as a string ("true" or "false"), telling assistive technologies whether to present the whole changed live region or only the changed parts (MDN).
No. MDN marks Element.ariaAtomic as Baseline Widely available (across browsers since October 2023). It is not Deprecated, Experimental, or Non-standard.
The string "false" (present only changed nodes) or "true" (present the entire changed region as a whole, including an author-defined label if one exists) (MDN).
aria-atomic is usually set on a live region (for example with aria-live="polite"). aria-relevant shapes which changes are announced; aria-atomic controls how much of the region is spoken when a change is relevant (MDN).
Strings. Assign "true" or "false" as text to match the attribute, not boolean literals.
Yes. Reading and writing ariaAtomic updates the reflected aria-atomic attribute, as in MDN’s clock timer example.