Interview practice question
Icon-only buttons have no accessible name
Frontend Engineering · Accessibility · Beginner
A toolbar uses icon-only buttons, and screen readers announce them just as "button." How do you fix this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Add accessible name: aria-label or visually hidden text.
- Hide decorative icon (aria-hidden).
- Tooltip helps sighted users too.
- Name describes action.
- Test with screen reader.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.