What the person is doing
The information architecture has a few top-level sections, but at least one section has many child destinations.
Application · lesson 16 of 21 · Navigation And Wayfinding
Underlying principle: Navigation exposes the site's structure at the moment a person needs to move. A useful route has a recognizable label, a predictable destination, and an orientation cue after arrival.
Provide a scoped mega menu from a top-level navigation trigger when a section has enough child destinations to justify a wide grouped panel, with clear grouping, accessible disclosure behavior, and responsive destination parity.
Navigation exposes the site's structure at the moment a person needs to move. A useful route has a recognizable label, a predictable destination, and an orientation cue after arrival.
The information architecture has a few top-level sections, but at least one section has many child destinations.
Provide a scoped mega menu from a top-level navigation trigger when a section has enough child destinations to justify a wide grouped panel, with clear grouping, accessible disclosure behavior, and responsive destination parity.
Closed state with a clear top-level trigger and visible submenu indicator.
Which top-level section has enough child destinations to justify a mega menu?
Activating a mega-menu trigger opens the panel and updates aria-expanded on that trigger.
The information architecture has a few top-level sections, but at least one section has many child destinations.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The information architecture has a few top-level sections, but at least one section has many child destinations.
Provide a scoped mega menu from a top-level navigation trigger when a section has enough child destinations to justify a wide grouped panel, with clear grouping, accessible disclosure behavior, and responsive destination parity.
Closed state with a clear top-level trigger and visible submenu indicator.
Hover-only access prevents keyboard and touch users from opening the panel.
Use a labeled navigation landmark and disclosure buttons for triggers that open panels.
U.S. Web Design System - checked
USWDS documents basic and extended header megamenu variants for deep hierarchy and recommends basic dropdowns when there is not enough content.
W3C Web Accessibility Initiative - checked
WAI documents fly-out navigation behavior, submenu indicators, aria-expanded, pointer delay, keyboard access, and alternate access to submenu items.
W3C WAI-ARIA Authoring Practices - checked
APG documents disclosure navigation and explains why typical site navigation should avoid ARIA menu roles.
IBM Carbon Design System - checked
Carbon header guidance supports product navigation submenus, utility separation, and responsive collapse into panels.
Source trail checked: