<div id="announce" aria-live="polite"></div>ARIA: aria-live attribute / notebook
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.
<div id="announce" aria-live="polite">
<p>This message is announced.</p>
</div>