Alert

An important message is announced without moving focus.

Corresponding W3C APG example

Example

Keyboard interaction

Activate Show alert with Enter or Space; focus stays on the button.

Example HTML

<axxy-scope>
  <button type="button" id="demo-show-alert">Show alert</button>
  <p role="alert" id="demo-alert"></p>
</axxy-scope>