Accessibility · Middle · Question 24 of 75

How do you build an accessible dropdown of navigation 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.

Further reading

Problem with a question

Accessibility · Middle · question 24

Test yourself

Take the Accessibility · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz