An AI design tool can lay out a page that looks finished and still fail the accessibility rule it was supposed to follow. WCAG 4.1.3 Status Messages is the rule this guide checks: status messages can be programmatically determined through role or properties so assistive technologies can present them without receiving focus. A design that passes by eye can still fail it, so check the rule itself, not the look of the page.
What the rule asks
WCAG 4.1.3 Status Messages asks that status messages can be programmatically determined through role or properties so assistive technologies can present them without receiving focus. The rule is written for the reader who cannot see the page the way you do, so the check has to be made from that reader’s point of view: keyboard only, colour removed, or screen reader only.
How to check it
Trigger each status message and check it is exposed through a live region, not by moving focus.
- Save the form and confirm the “saved” message is announced without focus moving
- Check the search result count is announced as a status, not as a page change
- Check an error message uses an alert role where the page does not change context
- Confirm the cart count update is announced as one message, not digit by digit
- Confirm a message that opens a dialog is not treated as a status message
Practice check: fictional Maple Corner
The table below is fictional practice material, with fictional values. It is the expected result for the practice page, worked out against the WCAG Understanding page, not a run of any accessibility tool.
| Check | As shown | Result |
|---|---|---|
| Saved message | role=status, announced, focus stays put | Pass |
| Result count | “18 results returned” announced | Pass |
| Cart count | “3 items” announced as one message | Pass |
| Upload progress | progress announced at intervals | Pass |
| Error message | error text appears with no role, never announced | Fail — give it role=alert |
| Waiting state | the “busy” message disappears with no announcement | Fail — announce “system available” when it clears |
Four of the six checks pass, and two fail. The passing checks show the design follows the rule in most places, but the two failing checks would block a reader on every visit if they went out unchecked.
Expected result. We checked the Maple Corner shop page against WCAG 4.1.3 Status Messages. We did not run any accessibility tool on the page.
Limits
- No accessibility tool was run on the Maple Corner shop page, and Maple Corner is fictional. The table above is the expected result for the practice page, not a test of any product.
- This guide checks one criterion on one page. A page that passes this check can still fail other criteria; check each rule separately.
- Ratios in this guide are the thresholds from the WCAG Understanding page. A ratio of 4.499:1 fails a 4.5:1 requirement; ratios are not rounded.
- It does not check the design’s brand colours. A design that passes this check can still use the wrong brand colour; check colours separately.
