Accessibility · Middle · Question 8 of 75

Two <nav> elements on one page: what should you do?

Show the answer

Correct answer: Give each a distinct name with aria-label

Explanation

Screen readers list landmarks, so "Main navigation" and "Footer links" are useful, while two entries called "navigation" are not.

Further reading

Problem with a question

Accessibility · Middle · question 8

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