Skip to main content

1.4.13 Content on Hover or Focus: what it requires and how to test it

Tooltips, submenus and previews that appear on hover or focus have to be dismissible without moving the pointer, stay open while the pointer moves onto them, and stay visible until the user is done.

Level AA · Added in WCAG 2.1 · Last reviewed November 29, 2026

What 1.4.13 requires

Where receiving and then removing pointer hover or keyboard focus makes additional content appear and then disappear, all three of these must be true:

  • Dismissible: there's a way to dismiss the additional content without moving the pointer or keyboard focus, unless the content communicates an input error or doesn't obscure or replace other content.
  • Hoverable: if hover can trigger the content, the pointer can move over the additional content without it disappearing.
  • Persistent: the content stays visible until the hover or focus is removed, the user dismisses it, or its information is no longer valid.

The exception is content whose visual presentation is controlled by the browser and not modified by the author. This is a plain-language summary. The normative text, including all three notes, is in the W3C Recommendation, with the W3C's explanation in Understanding 1.4.13 (opens in a new tab) [1][2].

Exceptions and scope:

  • Browser tooltips from the HTML title attribute are controlled by the browser, so they're excepted [2].
  • Covered: custom tooltips, submenus and other non-modal popups that appear on hover and focus [2].
  • Not covered: hidden controls that become visible on focus, such as skip links, because they aren't additional content [2].
  • Error messages shown on hover or focus don't have to be dismissible, but they still have to be hoverable and persistent.

Why it matters

People who use screen magnification see a small part of the page at a time. When a tooltip appears, they often need to move the pointer onto it to read it, and if it vanishes when the pointer leaves the trigger, they can't. If it covers the text they were reading and there's no way to close it without moving away, they lose their place. People with low vision who enlarge the pointer, and people who need more time to read, run into the same problems. Keyboard users need content that appears on focus to stay until they move on.

Common failures

Tooltip disappears when the pointer moves onto it

The tooltip is tied to the trigger's hover only. This is the W3C's documented failure F95 [3].

/* Fails: the tooltip closes as soon as the pointer leaves the button */
.trigger:hover + .tooltip { display: block; }

/* Better: it stays open while the pointer is over the trigger or the tooltip */
.wrapper:hover .tooltip,
.wrapper:focus-within .tooltip { display: block; }

No way to dismiss without moving away

A large preview covers the content beside it and only closes when the pointer or focus moves elsewhere (failure F114) [3].

// Better: Escape hides the tooltip without moving hover or focus (technique SCR39)
document.addEventListener('keydown', (e) => {
  if (e.key === 'Escape') tooltip.hidden = true;
});

Tooltip that disappears on a timer

A hint fades out after three seconds even though the pointer is still over it. Keep it visible until hover or focus is removed or the user dismisses it.

Content that appears on hover but not on focus

A submenu opens on mouse hover only. That's a 2.1.1 Keyboard problem as well: make it appear on focus or on Enter, and make it meet all three conditions when it does.

Can automated testing check 1.4.13?

No. Our automated rules include none for 1.4.13. Whether content stays open, can be hovered and can be dismissed only shows up while someone moves the pointer and focus.

Automated ruleWhat it checks
(none mapped)No automated rule in our scans maps to this criterion

What automation can't decide:

  • which elements show additional content on hover or focus
  • whether that content stays open when the pointer moves onto it
  • whether it can be dismissed without moving the pointer or focus, and whether it obscures other content
  • whether it disappears before the user is done

A clean automated result is never proof that 1.4.13 is met. See why sites pass automated scans but fail real screen reader users.

How to test it by hand

  1. Find every element that shows extra content on hover or focus: icons with tooltips, info buttons, navigation submenus, product image previews, form hints.
  2. Hover each one, then move the pointer slowly onto the content that appeared. Does it stay open?
  3. With the content showing, press Escape without moving the pointer. Does it close? If it covers nothing, it doesn't have to.
  4. Tab to each trigger with the keyboard. Does the content appear on focus, stay while focus remains, and close with Escape?
  5. Leave the pointer still over the content for 30 seconds. It shouldn't disappear on its own.
  6. Repeat at 200% zoom, where tooltips are more likely to cover other content.

How Accessible helps (and where it stops)

Accessible has no dedicated check for 1.4.13 today.

  • Automated scanning has no rule for this criterion.
  • The keyboard walkthrough in the AI-assistant tools lists every focus stop on a page, which gives you a list of triggers to test by hand.
  • Journeys operate key tasks by keyboard as a simulated screen-reader user, so a submenu that only opens on mouse hover can stop a journey at the step that needs it.

Where it stops: 1.4.13 is about how content behaves under a pointer and how it looks when it appears, so it needs a person. Check a page free to clear detectable failures, and use free accessibility monitoring to see the barriers real visitors meet. No automated tool, ours included, can certify that a criterion is met.

Sources

  1. Understanding Success Criterion 1.4.13: Content on Hover or Focus (opens in a new tab). W3C Web Accessibility Initiative. Accessed November 29, 2026.
  2. Web Content Accessibility Guidelines (WCAG) 2.2, Success Criterion 1.4.13 (opens in a new tab). W3C Recommendation. Accessed November 29, 2026.
  3. F95 (opens in a new tab), F114 (opens in a new tab) and SCR39: Making content on focus or hover hoverable, dismissible, and persistent (opens in a new tab). W3C WCAG 2.2 Techniques. Accessed November 29, 2026.

Meeting a success criterion is not the same as legal compliance, which depends on the rules that apply to you. No automated tool can certify conformance.

Frequently asked questions

Does the title attribute fail 1.4.13?

No. Browser tooltips from the title attribute are controlled by the browser, so they fall under the exception. Custom tooltips built with CSS or script are covered.

Does a skip link that appears on focus count?

No. The W3C notes that a hidden control made visible on focus, such as a skip link, isn't additional content, so 1.4.13 doesn't cover it.

Which key should dismiss a tooltip?

The criterion doesn't name a key, but Escape is the usual mechanism and what users expect. W3C technique SCR39 uses it.

Does 1.4.13 apply to menus opened by clicking?

No. It covers content that appears when hover or keyboard focus is received and disappears when it's removed. A menu opened by a click or Enter press is a different interaction, though it still needs to work with a keyboard.

Try every tooltip with a keyboard and at 200%.

Check a page free, then test hover and focus content by hand with the steps above. Free accessibility monitoring shows the barriers real visitors hit, with no card and no expiry.