QuizNot attempted
Landmarks and popups
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>(orrole="region") becomes a landmark only when it has an accessible name, e.g.aria-labelledbyits heading - A button that opens a menu or listbox can say so with
aria-haspopup="menu"/"listbox"andaria-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-expandedtell 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.