aria-practices
aria-practices copied to clipboard
Layout Grid Example 2: Polite live region feedback interrupted when adding recipient
When operating the second of the Layout Grid Examples, a live region is used to confirm when a recipient has been added successfully. However, aria-live
on the relevant <span>
container is set to "polite"
rather than "assertive"
, meaning that some screen readers will interrupt the message in favour of the announcement indicating that the input has received focus again. This is a potential failure of WCAG SC 4.1.3 Status Messages (level AA).
Reproduce
- With NVDA and Chrome, open https://www.w3.org/WAI/ARIA/apg/example-index/grid/LayoutGrids.html.
- Locate the section on the page headed "Example 2: Pill List For a List of Message Recipients".
- Type "Test" in the "Add Recipient" input.
- Press the "Add" button.
Expected result
NVDA announces, "Test added. 3 recipients total.", followed by the focus change back to the "Add Recipient" input.
Actual behaviour
The beginning of the live region feedback is barely audible, because the speech "Add Recipient edit New Recipient Name blank" interrupts it almost immediately.
CC @IsaDC