HTML & CSS · Senior · Question 40 of 75

What are HTML landmarks, and why do they matter?

Explanation

Semantic elements implicitly get landmark roles (banner, navigation, main, complementary, contentinfo). Screen reader users open a list of landmarks and jump to the one they need. If a page has several nav elements, give them distinct names via aria-label. A typical SPA problem is a missing main or several visible ones.

Further reading

Problem with a question

HTML & CSS · Senior · question 40

Test yourself

Take the HTML & CSS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz