Error and status messages should receive focus
Part of #1106 (closed) (read this issue for access to the full audit and recommendations).
- toast messages (x tracks added)
- error messages in forms
Audit section (Section 4.1.3):
When error messages appear they should receive the focus. Users of assistive technologies will then hear this message as soon as it appears and understand what happened. This can be accomplished by using role=’alert’. See the login and sign up forms.
When clicking on a track, and then on the button displaying something like ‘1 of 4’, a text appears: ‘4 tracks were added to your queue’. This status message should receive the focus.