Mega menus
Big menus open and close by accident as the pointer passes over them on the way somewhere else.
The answer
Wait a moment before opening or closing on hover, and make the whole menu work from the keyboard. As strong as the weakest rule behind it: moderate.
-
Make opening, moving through and closing the menu work from the keyboard.
WCAG 2.2 level A. Reopened and checked in the pilot.
- Applies when
- Always.
- Based on
- Standard or law
- Principle
- Work for everyone
- Common mistake
- A panel that can only be opened by hover (rule 2).
- StandardStandard: Understanding SC 2.1.1 Keyboard (Level A)W3C WAI
- GuidanceGuidance: Disclosure Navigation Menu Example (ARIA Authoring Practices Guide)W3C WAI APG, 2026
-
If the menu opens on hover, pause briefly before opening and closing, so a passing pointer doesn’t trigger it.
Baymard and NN/g report accidental opening from testing, without numbers; a 22-person study of cascading menus found a short grace period before closing cut errors, levelling off at about 0.4 seconds. The research is on a neighboring kind of menu, so 3.
- Applies when
- The panel opens on hover.
- Based on
- Practitioner research
- Principle
- Prevent errors
- Common mistake
- A panel that vanishes when the pointer cuts the corner on the way to an item (rule 3).
- ExperimentsExperiment: Advanced Investigation of Steering Performance with Error-Accepting DelaysHidaka, 2023
- Experiment: Bubbling Menus: A Selective Mechanism for Accessing Hierarchical Drop-Down MenusTheophanis Tsandilas and m.c. schraefel, 2007
- User researchUser research: Hover Delay for Drop-Down MenusEdward Scott, 2023
- GuidanceGuidance: Mega Menus Work Well for Site NavigationJakob Nielsen and Angie Li, 2017
The other rules
-
If a panel opens on hover or focus, let people close it without moving the pointer, let the pointer move onto it, and keep it open until they leave or close it.
WCAG 2.2 level AA (1.4.13), which names custom sub-menus. Reopened and checked.
- Applies when
- A panel opens on hover or focus.
- Based on
- Standard or law
- Principle
- Work for everyone
- StandardStandard: Understanding SC 1.4.13 Content on Hover or Focus (Level AA)W3C WAI
-
Close the menu with Escape and return focus to the button that opened it.
The ARIA practices guide and USWDS. Rated 3.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Keep people in control
- GuidanceGuidance: Disclosure Navigation Menu Example (ARIA Authoring Practices Guide)W3C WAI APG, 2026
- Guidance: USWDS Header component (extended header with megamenu)U.S. Web Design System, 2026
- Guidance: Menu and Menubar Pattern (ARIA Authoring Practices Guide)W3C WAI APG, 2026
-
Open the menu on click, which also works on touch screens.
USWDS advises click or keyboard, not hover; Baymard reports hover is the norm and tests it with delays. No comparison found. Rated 1.
- Applies when
- On devices with a pointer and keyboard.
- Based on
- Convention
- Depends on
- Device and screen
- Principle
- Keep people in control
- User researchUser research: Hover Delay for Drop-Down MenusEdward Scott, 2023
- GuidanceGuidance: USWDS Header component (extended header with megamenu)U.S. Web Design System, 2026
- Guidance: Mega Menus Work Well for Site NavigationJakob Nielsen and Angie Li, 2017
Accessibility
Open questions
- OpenHover or click (rule 5).
- OpenThe specific delays in practitioner sources are given without data.
- OpenWhether mega menus beat ordinary drop-downs: NN/g argues yes without numbers; no study was found.
- OpenNo systematic review or published online experiment was found.
Sources
- ExperimentsExperiment: Advanced Investigation of Steering Performance with Error-Accepting DelaysHidaka, 2023
- Experiment: Bubbling Menus: A Selective Mechanism for Accessing Hierarchical Drop-Down MenusTheophanis Tsandilas and m.c. schraefel, 2007
- User researchUser research: Hover Delay for Drop-Down MenusEdward Scott, 2023
- StandardsStandard: Understanding SC 1.4.13 Content on Hover or Focus (Level AA)W3C WAI
- Standard: Understanding SC 2.1.1 Keyboard (Level A)W3C WAI
- GuidanceGuidance: Disclosure Navigation Menu Example (ARIA Authoring Practices Guide)W3C WAI APG, 2026
- Guidance: Mega Menus Work Well for Site NavigationJakob Nielsen and Angie Li, 2017
- Guidance: USWDS Header component (extended header with megamenu)U.S. Web Design System, 2026
- Guidance: Menu and Menubar Pattern (ARIA Authoring Practices Guide)W3C WAI APG, 2026
Related
- Primary navigationUse clear, familiar labels, keep navigation the same on every page, and mark where people are.Answer: moderate.
- PopoversOpen popovers on click, not hover, and close them with Escape or a click outside.Answer: moderate.
- Focus management on open and closeMove focus into a dialog when it opens, and back to the control that opened it when it closes.Answer: moderate.