Accessibility · Middle · Question 24 of 75
How do you build an accessible dropdown of navigation links?
- 1A
divwithonmouseenterthat shows a list ofspans - 2A
selectelement where each option navigates away - 3A button with
aria-expandedthat shows a list of links
Show the answer
Correct answer: A button with aria-expanded that shows a list of links
Explanation
This is the disclosure pattern. It works with touch, keyboard and screen readers without any ARIA menu roles.