Accessibility · Middle · Question 12 of 75
After a failed submit of a long form, what's a good pattern?
- 1Move focus to an error summary with links to the fields
- 2Show a toast for five seconds and leave focus in place
- 3Reload the page and clear the fields that were invalid
Show the answer
Correct answer: Move focus to an error summary with links to the fields
Explanation
A summary tells users how many errors exist and takes them there. Focus should move to it so keyboard and screen reader users notice.