Status and feedback
Accessible urgent alerts: Examples and Testing
Published by whatisADA / Grow Wild Agency · Updated
What to build
Use an alert for important, time-sensitive information that needs prompt announcement without requiring focus. Keep it brief and actionable, and reserve assertive behavior for situations where interruption is justified.
A practical example
A payment request fails after the user submits it. An error message explains that payment was not completed and gives a retry route, while preserving the entered information and avoiding a false confirmation.
Try the example
Use Tab and your keyboard controls, then compare the behavior with the checks below. This is an isolated learning example; test the complete pattern in your own product and assistive technology setup.
How to check it
- Trigger the real failure or important state change in a controlled test.
- Check that the message is announced and remains available long enough to read.
- Verify a clear recovery action and ensure duplicate requests do not create repeated alerts.
What can be missed
Not every update is urgent. Routine counts and successful saves usually fit a polite status message, and an alert that requires a decision may instead need a carefully designed dialog.
Markup and state contract
This concise markup illustrates names, relationships or state. Custom controls also need the keyboard interaction and state updates described in the checks and primary source; this snippet is not a complete component.
<div role="alert">The report could not be saved. Your notes remain in the form; try again or download a copy.</div>Record your test
Use this worksheet to record what you actually checked. Notes stay on this device when you choose Save; they are not sent to us. Avoid personal or confidential information on shared devices.
These are your observations, not automated results or a conformance certificate. A complete evaluation needs appropriate scope, supported technologies, all applicable criteria and relevant page states.
Primary sources and scope
This is independent implementation guidance with original examples. The linked standard contains the full definitions, exceptions and conformance requirements. A criterion or checklist alone does not establish legal applicability or whole-site conformance.