MDN self-hosted library · e01.org

ARIA: aria-live attribute

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<div id="announce" aria-live="polite"></div>
html
<div id="announce" aria-live="polite">
  <p>This message is announced.</p>
</div>