Skip to content

QuizNot attempted

Landmarks and popups

Which statements about landmarks and popup buttons are true?

Select all that apply.

1–4 to choose, Enter to submit
Show answer & explanation

Correct answers:

  • Prefer <main>, <nav>, <header>; role="main"/"navigation"/"banner"/"search" are fallbacks when you can't use them
  • A <section> (or role="region") becomes a landmark only when it has an accessible name, e.g. aria-labelledby its heading
  • A button that opens a menu or listbox can say so with aria-haspopup="menu" / "listbox" and aria-expanded
  • Native <main>, <nav>, <header> map to landmarks automatically, with roles as a fallback
  • a <section> is a region landmark only when it has an accessible name
  • and aria-haspopup + aria-expanded tell users a button opens a menu or listbox and whether it is open.
  • Not a role on every div: plain containers have no meaning to convey, and extra roles add noise that makes landmark navigation worse.