Interview practice question
A submit button stays disabled without explanation
Frontend Engineering · Accessibility · Intermediate
A form's submit button stays disabled until all fields are valid, and users can't tell why. How would you improve this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Disabled buttons give no feedback; often not focusable.
- Keep button enabled; validate on submit.
- Show clear error messages.
- If disabling, explain requirements visibly.
- aria-disabled keeps focusability.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.