HTML aria-live ARIA Attribute
The aria-live attribute makes an element a live region, so screen readers announce changes to its content, such as status messages, politely (polite) or at once (assertive).
Description
The aria-live attribute turns an element into a live region: an area whose updates are announced by screen readers even when the user's focus is somewhere else. It is used for content that changes without a page load, such as a "Saved" message, the number of items in a cart, search results that update as you type, or a chat log.
With polite, the announcement waits until the screen reader has finished what it is saying. With assertive, it interrupts straight away, so keep that for urgent messages such as errors. The live region must already be in the page before its content changes: adding an element that already contains text, or adding aria-live at the same moment as the text, is often not announced.
Several roles are live regions already: status behaves like aria-live="polite" and alert like aria-live="assertive", so you don't need both. Use aria-atomic to say whether the whole region or only the changed part is read, and aria-relevant to choose which kinds of change are announced.
Properties
- Type
- Live Region
- Value
- token
- Default
off- Used with
- All elements (global attribute)
Syntax
<element aria-live="off | polite | assertive">
Values
- offThe default. Changes are not announced unless the user is focused on the region.
- politeChanges are announced when the screen reader is idle, without interrupting the user.
- assertiveChanges are announced immediately, interrupting whatever is being read. Use it only for urgent information.
Example
Browser Support
The following information will show you the current browser support for the aria-live ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





