Interview practice question
Form error messages aren't announced
Frontend Engineering · Accessibility · Beginner
When a form submission fails, errors appear in red under fields, but screen reader users don't know anything happened. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Link errors with aria-describedby.
- aria-invalid on fields.
- Move focus to error summary or first invalid field.
- Error text, not colour only.
- Live region for dynamic errors.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.