ARIA alert
Role Example
Note: This page requires updates per issue 185. Please provide any additional feedback in this issue.
This example shows a simple alert after you click the button.
More information on alert pattern
Accessibility Feature
role=alert
identifies an element as an alert which is a specialized form of thestatus
role.
Keyboard Support
No keyboard interaction needed.
ARIA Roles, Properties and States
Role | Property/State | Usage |
---|---|---|
alert | Identify element as Alert widget | |
aria-live with implicit value of assertive |
Announces alert when it is displayed. | |
aria-atomic with implicit value of true |
Tells assistive technologies to announce all content. |