Announce errors and changes to a screen reader
Hard
Rule. Announce a new error or status message to a screen reader without moving focus.
Why. A person who cannot see a change never learns of it unless the app says it.
- Announce a failed submit and a saved result.
- Announce a message once, not each time the screen redraws.
Do. The error is read aloud as it appears.
Don't. The error shows, but nothing is read aloud.