In JavaScript, ariaLive reflects the aria-live attribute: it marks a live region and tells assistive technology how urgently to announce updates (MDN).
Read the notes below before you get or set this property. Prefer feature detection when support is limited.
Syntax
Use el.ariaLive. Start with this line.
JavaScript
element.ariaLive
Call
What it does
element.ariaLive
Primary signature.
Built into the browser. Read or assign el.ariaLive — no import required.
Library declarations
JavaScript
element.ariaLive
Parameters
Parameter
Description
Value
Required. polite / assertive / off
Content change
Required. Triggers the announcement
Focus move
Optional. Live regions announce without taking focus
Custom elements
Optional. ElementInternals.ariaLive
Return Value
Return Value
Description
*
The current value of el.ariaLive.
JavaScript Examples
Example 1 — Get and Set (MDN)
Read the current live setting, then raise urgency to "assertive".
JavaScript
let el = document.getElementById("planetInfo");
console.log(el.ariaLive); // "polite"
el.ariaLive = "assertive";
console.log(el.ariaLive); // "assertive"
Write via the property. Attribute updates immediately.
Read via getAttribute. Same value as ariaLive.
Write via the attribute. Property reflects the change.
Use exact tokens.polite, assertive, or off.
Compatibility
Browser Support
Element.ariaLive is marked Baseline Widely available on MDN (since October 2023). Logos use the shared browser-image-sprite.png sprite from this project.
✓ Baseline · Widely available
Element ariaLive
Reflects aria-live — live region urgency for assistive technology.
WidelyAvailable
Google ChromeFull support · Desktop & Mobile
Full support
Mozilla FirefoxFull support · Desktop & Mobile
Full support
Apple SafariFull support · macOS & iOS
Full support
Microsoft EdgeFull support · Chromium
Full support
OperaFull support · Modern versions
Full support
Internet ExplorerNo Element.ariaLive
Not supported
ariaLiveBaseline support
Bottom line: Safe in modern browsers. Prefer polite for status updates; reserve assertive for urgent messages. See the MDN Element.ariaLive reference.
Frequently Asked Questions
It reflects the aria-live attribute as a string, indicating that an element will be updated and describing how assistive technologies should present those updates (assertive, polite, or off).
No. MDN marks Element.ariaLive as Baseline Widely available (since October 2023). It is not Deprecated, Experimental, or Non-standard.
The strings "assertive", "off", or "polite". Prefer polite for most status updates; reserve assertive for urgent messages.
polite waits for a graceful moment (end of a sentence or typing pause). assertive interrupts and presents updates immediately with highest priority.
Updates to the region should not be presented unless the user is currently focused on that region (MDN).
Yes. Reading and writing ariaLive updates the reflected aria-live attribute. Changing text inside the live region is what triggers announcements.