- What are aria-live regions?
- What does setting aria-live polite on a live region achieve?
- What would be the result if an aria-live announcement were tied to a blur event in a form?
What are aria-live regions?
The aria-live attribute makes it possible for an AT (such as a screen reader) to be notified when error messages are injected into a Live Region container. The content within the aria-live region is automatically read by the AT, without the AT having to focus on the place where the text is displayed.
What does setting aria-live polite on a live region achieve?
aria-live="polite" indicates that the screen reader should wait until the user is idle before presenting updates to the user. This is the most commonly used value, as interrupting the user with "assertive" might interrupt their flow.
What would be the result if an aria-live announcement were tied to a blur event in a form?
What might happen if an aria-live announcement is tied to a blur event in a form? A SR user might miss the announcement because the announcement competes with the SR reading the next item in focus.