# Popovers

> Small panels that open from a button often close unexpectedly, or strand keyboard users when they close.

Area: Dialogs and overlays. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/dialogs/popovers

## The answer

Open popovers on click, not hover, and close them with Escape or a click outside.

- **Moderate.** Open a popover with controls on click, tap or Enter, not on hover. (https://uxreference.com/dialogs/popovers#rule-1)
- **Moderate.** Close a popover on Escape or an outside click, and return focus to its button when closed by keyboard. (https://uxreference.com/dialogs/popovers#rule-2)

## The problem

A small overlay that opens from a control must close predictably and leave keyboard users where they were.

## How to decide

None. Short entry. No user study of popover dismissal or focus was found.

## 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. Moderate

Open a popover that holds controls on activation (click, tap, Enter), not on hover.

- Applies when: The overlay contains links, buttons or form controls.
- Based on: Practitioner research
- Principle: Keep people in control

Why: APG says hover content with focusable items should be a non-modal dialog; Carbon's toggletip and Radix's popover open on activation.

Sources: [Tooltip Pattern (WAI-ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/); [Tooltip usage (IBM Carbon)](https://carbondesignsystem.com/components/tooltip/usage/); [Tooltip and Popover primitives (Radix UI)](https://www.radix-ui.com/primitives/docs/components/tooltip)

Link: https://uxreference.com/dialogs/popovers#rule-1

#### Rule 2. Moderate

Close a popover on Escape and on a click outside it, and return focus to the control that opened it when it was closed from the keyboard.

- Applies when: A non-modal popover is open.
- Based on: Practitioner research
- Principle: Keep people in control

Why: The HTML standard defines this behavior for the popover attribute and one component library matches it. The standard describes what browsers do; it is not a conformance rule for products, so it gives no floor. The spec excerpt read does not return focus after an outside click.

Sources: [HTML Standard, The popover attribute](https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute); [Using the Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using); [Tooltip and Popover primitives (Radix UI)](https://www.radix-ui.com/primitives/docs/components/tooltip)

Link: https://uxreference.com/dialogs/popovers#rule-2

#### Rule 3. Weak

Opening one popover closes any other of the same kind.

- Applies when: More than one popover could be open.
- Based on: Convention
- Principle: Be consistent

Why: Default browser behavior for auto popovers; no user evidence.

Sources: [HTML Standard, The popover attribute](https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute); [Using the Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using)

Link: https://uxreference.com/dialogs/popovers#rule-3

#### Rule 4. Weak

Do not block the rest of the page behind a popover; if the page must be blocked, use a modal dialog.

- Applies when: Choosing between a popover and a modal dialog.
- Based on: Convention
- Principle: Keep people in control

Why: The spec excerpt does not make the page inert for popovers and says a modal dialog cannot be a popover.

Sources: [HTML Standard, The popover attribute](https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute); [Tooltip and Popover primitives (Radix UI)](https://www.radix-ui.com/primitives/docs/components/tooltip)

Link: https://uxreference.com/dialogs/popovers#rule-4

#### Rule 5. Settled, WCAG AA

If a popover opens on hover or focus, WCAG 1.4.13 applies: dismissible, hoverable, persistent.

- Applies when: The overlay is triggered by hover or focus.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 success criterion 1.4.13, level AA.

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/dialogs/popovers#rule-5

#### Rule 6. Weak

Do not open a hover-triggered overlay instantly; an instant open is triggered by accident.

- Applies when: An overlay opens on hover.
- Based on: Practitioner research
- Principle: Prevent errors

Why: One practitioner source on menus, sample not stated. See [Mega menus](https://uxreference.com/navigation/mega-menu).

Sources: [Hover Delay for Drop-Down Menus](https://baymard.com/research-articles/dropdown-menu-flickering-issue)

Link: https://uxreference.com/dialogs/popovers#rule-6

## Accessibility requirements

- WCAG 1.4.13 for hover or focus triggers. (https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html)
- Place the popover next in keyboard order after its trigger (HTML standard, MDN).
- Custom menus need their own arrow-key handling.

## Common mistakes

- A popover with controls that only opens on hover.
- A popover that stays open with no way to close it from the keyboard.

## Still open

- Does closing on outside click cause accidental loss of work in popovers that hold forms? No source found.
- Where should focus go after an outside click?
- Not read: APG dialog and disclosure pages for this pattern, and several design systems.

## Related problems

- [Tooltips](https://uxreference.com/dialogs/tooltips): Never put anything people need in a tooltip. Keep it on the page.
- [Modal dialogs](https://uxreference.com/dialogs/modal): Use a modal only when people must respond before anything else, and only after their own action.
- [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.
- [Mega menus](https://uxreference.com/navigation/mega-menu): Wait a moment before opening or closing on hover, and make the whole menu work from the keyboard.
- [Selects vs radios vs comboboxes](https://uxreference.com/forms/select-radio-combobox): Show a few options as radio buttons. For a long list, let people type.

## Sources

- [Tooltip Pattern (WAI-ARIA Authoring Practices Guide)](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/). W3C WAI ARIA Authoring Practices Task Force, n.d., non-binding authoring guidance (not a standard); page marked work in progress without task force consensus.
- [Tooltip usage (IBM Carbon)](https://carbondesignsystem.com/components/tooltip/usage/). IBM Carbon Design System, n.d., component documentation.
- [Tooltip and Popover primitives (Radix UI)](https://www.radix-ui.com/primitives/docs/components/tooltip). Radix UI (WorkOS), n.d., component documentation (tooltip page and popover page).
- [HTML Standard, The popover attribute](https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute). WHATWG, 2026, normative web standard (living standard).
- [Using the Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using). MDN Web Docs, 2026, browser platform documentation.
- [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).
- [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.

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