Reviewing aria-atomic="true"
The container below has been set with aria-live="assertive"
and aria-atomic="true"
.
- Action: After 8 seconds, a message will be injected into the container below.
- Result: All content inside the container, including newly injected content, should be announced immediately.
Example
This is some text already in the container.
If a screen reader is focused on announcing this paragraph, will the dynamically injected message above affect the announcement of this paragraph? This is how we can determine whether dynamic information is announced immediately, at the next graceful opportunity, or not at all.
Assistive technologies
VoiceOver
- Chrome:
When reading: Existing and new content announced immediately.
When silent: Existing and new content announced immediately.
- Firefox:
When reading: Existing and new content announced immediately.
When silent: Existing and new content announced immediately.
- Safari:
When reading: Existing and new content announced immediately.
When silent: Existing and new content announced immediately.