Level AAPerceivableNew in 2.1
1.4.13

Content on Hover or Focus

Tooltips and pop-ups that appear on hover or focus must be dismissable, stay put while you move onto them, and not disappear on their own.

In plain English

Ever tried to move your mouse onto a tooltip and had it vanish before you got there? That’s the exact problem this rule fixes. Any extra content that pops up on hover or on keyboard focus, like tooltips, definition popovers, and mega-menus, has to behave:

  • Dismissable: you can make it go away (usually with the Escape key) without moving your mouse or focus.
  • Hoverable: you can move your pointer onto it and it stays open.
  • Persistent: it doesn’t disappear on a timer; it stays until you dismiss it or move away.

Who this is for

  • Screen-magnifier users, who must move across the screen to read a tooltip; if it vanishes on the way, they never see it.
  • Keyboard users, who need a way to dismiss a popover that’s covering something.
  • People who read slowly, for whom auto-hiding content disappears too soon.

What “good” looks like

Keep the extra content on screen and let people reach and dismiss it.

Hover a "?" help icon → tooltip appears
  • Move the mouse onto the tooltip      → it stays open   ✓
  • Press Escape                          → it closes       ✓
  • Do nothing                            → it stays put     ✓

Where stores get it wrong

Size-guide and help tooltips that close the instant the pointer leaves the trigger, mega-menus with no way to dismiss them by keyboard, and popovers that cover the content beneath with no escape. See the common failures list for how these show up in real stores.

How to meet it

Techniques the W3C accepts as sufficient (summarized). Follow a link for the full method.

Common mistakes

Patterns the W3C lists as failures of this criterion. Avoid these.

Frequently asked questions

What does content on hover or focus require?+

Success Criterion 1.4.13 (Level AA, WCAG 2.1) covers extra content (tooltips, popovers, dropdowns) that appears on hover or keyboard focus. It must be dismissable (usually with Escape), hoverable (you can move onto it without it vanishing), and persistent (it doesn't time out on its own).

What are the three rules for tooltips?+

Dismissable: you can close it without moving your mouse or focus (e.g. press Escape). Hoverable: you can move the pointer onto the tooltip and it stays. Persistent: it remains until you dismiss it, move away, or the info is no longer valid.

Why do disappearing tooltips fail accessibility?+

A tooltip that vanishes the moment you move toward it can't be read by people who use magnification (they need to move to it) or who read slowly. And one you can't dismiss can permanently cover content underneath.

Reference

This is a plain-language explainer. The authoritative source is the W3C Web Content Accessibility Guidelines (WCAG) 2.2.

WCAG 2.2 © W3C. Excerpts are paraphrased; see the linked documents for the normative text.

Not sure if your store passes 1.4.13?

A human auditor checks this and every other criterion against your live store, and documents the result.

Book an audit