Element.ariaLive is an instance property that reflects the aria-live attribute. Learn the polite, assertive, and off tokens, how live regions announce dynamic updates, and how to get or set the property from JavaScript—with five examples and try-it labs.
01
Kind
Instance property
02
Type
String
03
Values
assertive · off · polite
04
Reflects
aria-live
05
Status
Baseline widely
06
Use for
Live regions
Fundamentals
Introduction
Modern pages update without a full reload: status messages, search results, chat lines, validation hints. Sighted users see the change. Assistive technology users need a signal that something in a region changed.
aria-live creates that live region. ariaLive is the JavaScript reflection of that attribute.
JavaScript
const el = document.getElementById("planetInfo");
console.log(el.ariaLive); // "polite"
el.ariaLive = "assertive";
💡
Beginner tip
Prefer "polite" for most updates. Use "assertive" sparingly for urgent errors or time-critical alerts. Setting ariaLive alone does nothing until the region’s content changes.
Concept
Understanding the Property
MDN: the ariaLive property of the Element interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Reflected attribute — mirrors aria-live.
Get / set — readable and writable string.
Three tokens — assertive, off, polite.
Baseline — widely available since October 2023 (MDN).
Foundation
📝 Syntax
JavaScript
ariaLive
Value
A string with one of the following values:
Value
Meaning (MDN)
"assertive"
Updates have the highest priority and should be presented immediately.
"off"
Updates should not be presented unless the user is focused on that region.
"polite"
Updates should be presented at the next graceful opportunity.
⚠️
Interrupt carefully
Too many assertive live regions can overwhelm screen reader users. Default to polite status text; escalate only when the user must hear something right away.
Pattern
📋 MDN Example Shape
MDN starts with aria-live="polite" on a region, then updates it to "assertive":
JavaScript
<div role="region" id="planetInfo" aria-live="polite">
<h2 id="planetTitle">No planet selected</h2>
<p id="planetDescription">Select a planet to view its description</p>
</div>
JavaScript
let el = document.getElementById("planetInfo");
console.log(el.ariaLive); // "polite"
el.ariaLive = "assertive";
console.log(el.ariaLive); // "assertive"
Cheat Sheet
⚡ Quick Reference
Goal
Code / note
Read
el.ariaLive
Polite updates
el.ariaLive = "polite"
Urgent updates
el.ariaLive = "assertive"
Silence unless focused
el.ariaLive = "off"
Trigger announcement
Change text/content inside the live region
MDN status
Baseline Widely available
Snapshot
🔍 At a Glance
Four facts about Element.ariaLive.
Kind
get / set
Instance
Type
string
Live priority
Reflects
aria-live
Attribute
Baseline
widely
Oct 2023+
Hands-On
Examples Gallery
Examples follow MDN Element: ariaLive. Labs use a live region so you can safely read and write the property.
📚 Getting Started
Read the reflected value and follow MDN’s update.
Example 1 — Read ariaLive
Log the live-region priority from a status region.
JavaScript
const el = document.getElementById("planetInfo");
console.log(el.ariaLive);
// HTML includes: aria-live="polite"
Prefer ariaLive in script; keep the attribute for HTML markup.
Example 5 — Support Snapshot
Feature-detect and list the allowed tokens.
JavaScript
console.log({
supported: "ariaLive" in Element.prototype,
allowed: ["assertive", "off", "polite"],
tip: "Prefer polite; use assertive only for urgent updates",
status: "Baseline Widely available (MDN)"
});
Element.ariaLive is Baseline Widely available (MDN: across browsers since October 2023). Logos use the shared browser-image-sprite.png sprite from this project.
✓ Baseline Widely available
Element.ariaLive
String assertive / off / polite — reflects aria-live for live region update priority.
BaselineWidely available
Google ChromeSupported (ARIA reflection)
Yes
Microsoft EdgeSupported (ARIA reflection)
Yes
Mozilla FirefoxSupported (ARIA reflection)
Yes
Apple SafariSupported (ARIA reflection)
Yes
OperaFollow Chromium support
Yes
Internet ExplorerNo ariaLive IDL — use setAttribute
No
ariaLiveBaseline
Bottom line: Use ariaLive to declare how assistive technologies should present updates in a live region. Prefer polite for routine status text. Change the region's content to trigger announcements.
Wrap Up
Conclusion
ariaLive reflects aria-live so dynamic regions can tell assistive technologies how urgently to announce updates. Start with polite status regions, keep messages short, and reserve assertive for true interruptions.
Expect setting ariaLive alone to announce anything
Put huge page sections into one live region
Duplicate every visual change as a live announcement
Leave confusing or incomplete status text
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about ariaLive
Reflected aria-live string for live region update priority.
5
Core concepts
📄01
Get / set
on Element
Kind
📝02
Three tokens
assertive off polite
Values
🔍03
Prefer polite
assertive is rare
Rule
✅04
Baseline
widely available
Status
🎯05
Content change
triggers announce
How
❓ 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.
Did you know?
Roles like status and alert are built around live-region behavior. ariaLive lets you tune priority explicitly when a generic role="region" (or similar) needs custom announcement timing.