Ctrl K
Frontend · Mid-level · Theory

You need to build a custom dropdown instead of a native select. How would you make it accessible to keyboard users and screen readers?

~4 min by voice

How to approach it

This checks whether the candidate understands that accessibility is part of the functionality, not decoration: whether they know when not to reinvent the wheel, and whether they can implement the WAI-ARIA combobox/listbox pattern with keyboard support, roles, states and focus management.

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsWhat is semantic HTML, and how does it relate to accessibility? JuniorYou need to make a custom-built modal dialog with a dropdown list inside it accessible. What will you check, and how will you build accessibility into the team's process? Senior

Answer by voice

The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.

Sign in to answer

Best with headphones · ~4 min