# Mega menus

> Big menus open and close by accident as the pointer passes over them on the way somewhere else.

Area: Navigation. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/navigation/mega-menu

## The answer

Wait a moment before opening or closing on hover, and make the whole menu work from the keyboard.

- **Settled, WCAG AA.** Make opening, moving through and closing the menu work from the keyboard. (https://uxreference.com/navigation/mega-menu#rule-2)
- **Moderate.** If the menu opens on hover, pause briefly before opening and closing, so a passing pointer doesn’t trigger it. (https://uxreference.com/navigation/mega-menu#rule-3)

## The problem

A large panel that opens from the main navigation shows many destinations at once, and opens or closes by accident when the pointer only passes over it.

## How to decide

None. The sources do not describe more than one correct practice that depends on context.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Settled, WCAG AA

If a panel opens on hover or focus, let people dismiss it without moving the pointer, let the pointer move onto it without it closing, and keep it open until they leave or dismiss it.

- Applies when: A panel opens on hover or focus.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 level AA (1.4.13), which names custom sub-menus. Reopened and checked.

Sources: [Understanding SC 1.4.13 Content on Hover or Focus (Level AA)](https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html)

Link: https://uxreference.com/navigation/mega-menu#rule-1

#### Rule 2. Settled, WCAG AA

Make opening the panel, moving within it and closing it work from the keyboard.

- Applies when: Always.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 level A. Reopened and checked in the pilot.

Sources: [Understanding SC 2.1.1 Keyboard (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html); [Disclosure Navigation Menu Example (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/)

Link: https://uxreference.com/navigation/mega-menu#rule-2

#### Rule 3. Moderate

If the panel opens on hover, wait a moment before opening it and before closing it, so that a pointer passing over does not trigger it.

- Applies when: The panel opens on hover.
- Based on: Practitioner research
- Principle: Prevent errors

Why: 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.

Sources: [Hover Delay for Drop-Down Menus](https://baymard.com/research-articles/dropdown-menu-flickering-issue); [Mega Menus Work Well for Site Navigation](https://www.nngroup.com/articles/mega-menus-work-well/); [Advanced Investigation of Steering Performance with Error-Accepting Delays](https://www.iplab.cs.tsukuba.ac.jp/paper/journal/hidaka_IJHCI2023.pdf); [Bubbling Menus: A Selective Mechanism for Accessing Hierarchical Drop-Down Menus](https://www.dgp.toronto.edu/papers/ttsandilas_CHI2007.pdf)

Link: https://uxreference.com/navigation/mega-menu#rule-3

#### Rule 4. Moderate

Close the panel with Escape and return focus to the control that opened it.

- Applies when: Always.
- Based on: Convention
- Principle: Keep people in control

Why: The ARIA practices guide and USWDS. Rated 3.

Sources: [Disclosure Navigation Menu Example (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/); [USWDS Header component (extended header with megamenu)](https://designsystem.digital.gov/components/header/); [Menu and Menubar Pattern (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/menubar/)

Link: https://uxreference.com/navigation/mega-menu#rule-4

#### Rule 5. Unsettled

Whether the panel should open on hover or only on click is unsettled.

Until the evidence settles, use this default: Open on click, which also works on touch screens.

- Applies when: On devices with a pointer and keyboard.
- Based on: Convention
- Depends on: Device and screen
- Principle: Keep people in control

Why: USWDS advises click or keyboard, not hover; Baymard reports hover is the norm and tests it with delays. No comparison found. Rated 1.

Sources: [USWDS Header component (extended header with megamenu)](https://designsystem.digital.gov/components/header/); [Hover Delay for Drop-Down Menus](https://baymard.com/research-articles/dropdown-menu-flickering-issue); [Mega Menus Work Well for Site Navigation](https://www.nngroup.com/articles/mega-menus-work-well/)

Link: https://uxreference.com/navigation/mega-menu#rule-5

## Accessibility requirements

- WCAG 2.2, 1.4.13 Content on Hover or Focus (AA) and 2.1.1 Keyboard (A). (https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html)
- WAI-ARIA Authoring Practices: the disclosure navigation example uses buttons that show and hide panels. Guidance. It advises against the menubar pattern for site navigation in most cases. (https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/)

## Common mistakes

- A panel that vanishes when the pointer cuts the corner on the way to an item ([rule 3](https://uxreference.com/navigation/mega-menu#rule-3)).
- A panel that can only be opened by hover ([rule 2](https://uxreference.com/navigation/mega-menu#rule-2)).

## Still open

- Hover or click ([rule 5](https://uxreference.com/navigation/mega-menu#rule-5)).
- The specific delays in practitioner sources are given without data.
- Whether mega menus beat ordinary drop-downs: NN/g argues yes without numbers; no study was found.
- No systematic review or published online experiment was found.

## Related problems

- [Primary navigation](https://uxreference.com/navigation/primary): Use clear, familiar labels, keep navigation the same on every page, and mark where people are.
- [Popovers](https://uxreference.com/dialogs/popovers): Open popovers on click, not hover, and close them with Escape or a click outside.
- [Focus management on open and close](https://uxreference.com/dialogs/focus-management): Move focus into a dialog when it opens, and back to the control that opened it when it closes.

## Sources

- [Understanding SC 1.4.13 Content on Hover or Focus (Level AA)](https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Understanding SC 2.1.1 Keyboard (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html). W3C WAI, n.d., normative standard (Understanding document, informative).
- [Disclosure Navigation Menu Example (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-navigation/). W3C WAI APG, 2026, component documentation / reference example.
- [Hover Delay for Drop-Down Menus](https://baymard.com/research-articles/dropdown-menu-flickering-issue). Edward Scott, Baymard Institute, 2023, moderated usability testing plus site benchmark; protocol not detailed.
- [Mega Menus Work Well for Site Navigation](https://www.nngroup.com/articles/mega-menus-work-well/). Jakob Nielsen and Angie Li, Nielsen Norman Group, 2017, expert guideline article with five screenshot examples; no protocol reported.
- [Advanced Investigation of Steering Performance with Error-Accepting Delays](https://www.iplab.cs.tsukuba.ac.jp/paper/journal/hidaka_IJHCI2023.pdf). Hidaka, Sei, Nishida, Yamanaka, Shizuki; Int. J. Human-Computer Interaction, 2023, repeated-measures lab experiment (replication of Yamanaka 2019).
- [Bubbling Menus: A Selective Mechanism for Accessing Hierarchical Drop-Down Menus](https://www.dgp.toronto.edu/papers/ttsandilas_CHI2007.pdf). Theophanis Tsandilas and m.c. schraefel, CHI 2007, 2007, controlled experiment plus small supplementary and usability studies.
- [USWDS Header component (extended header with megamenu)](https://designsystem.digital.gov/components/header/). U.S. Web Design System, GSA, 2026, component documentation with accessibility test summary.
- [Menu and Menubar Pattern (ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/menubar/). W3C WAI APG, 2026, component documentation.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
