WCAG 1.4.13 Content on Hover or Focus: a Shopify test

Published 19 November 2026 · Last updated · General information, not legal advice

Shopify stores are full of things that appear when you point at them: dropdown and mega menus, custom tooltips on sizes or shipping icons, quick-view buttons on product cards and hover zoom on product photos. WCAG 1.4.13 Content on Hover or Focus, a Level AA success criterion, sets three rules for that kind of content so that people using screen magnification, large pointers or a keyboard can read it and get rid of it.12

This is general accessibility guidance, not legal advice.

What WCAG 1.4.13 requires

The criterion applies where receiving and then removing pointer hover or keyboard focus makes additional content become visible and then hidden. When that happens, all three of these must be true:2

  • Dismissible. There is a way to dismiss the additional content without moving pointer hover or keyboard focus, unless the content communicates an input error or does not obscure or replace other content.
  • Hoverable. If pointer hover can trigger the content, the pointer can be moved 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.

There is one exception: content whose visual presentation is controlled by the user agent and not modified by the author. W3C's example is the browser tooltip created with the HTML title attribute.2 Custom tooltips, sub-menus and other non-modal pop-ups that display on hover and focus are covered.2

Why it matters

W3C explains that screen magnification users see only a small part of the page, and the magnified view follows the pointer or focus. Content that pops up over the page can hide what they were trying to read, so they need a way, such as the Escape key, to clear it without moving.1 People who use a large pointer may find it covers the tooltip; moving the pointer onto the new content is how they read it, which is why it must be hoverable.1 And people with low vision or cognitive disabilities may need more time, which is why it must not vanish on a timer.1

What is not covered

  • Browser title tooltips, because the browser controls how they look.2
  • Skip links and other hidden controls that appear on focus. W3C notes that a component made visible on focus is not additional content, so it is not covered.2 See skip links on a Shopify theme.
  • Modal dialogs. They are out of scope because they must take keyboard focus and should not appear on hover or focus at all.1

Where Shopify stores usually fail

  • Mega menus that close as the pointer travels from the menu item to the panel, because there is a gap between them or the panel only stays open while the trigger is hovered. That fails hoverable.
  • Dropdowns that cannot be closed without moving away. If a menu panel covers the page and Escape does nothing, it fails dismissible.
  • Custom tooltips on size guides, delivery estimates or icons that disappear after a few seconds (persistent) or that only appear on hover and never on keyboard focus.
  • Hover zoom on product images that covers the product title, price or Add to cart button and cannot be dismissed without moving the pointer.
  • Quick-view and second-image effects on product cards, when they add buttons or text that vanish as soon as the pointer moves towards them.
  • App widgets such as review badges and loyalty pop-ups that show extra content on hover, because they bring their own code.

W3C also reminds authors that content which can be triggered by pointer hover should be triggerable by keyboard focus too, under 2.1.1 Keyboard.1 For menus specifically, see accessible navigation and mega menus; for zoom and carousels, see accessible product images and carousels.

A ten-minute test

  1. On the home page, a collection page and a product page, hover over each menu item, icon, product card and image that shows something extra.
  2. Hoverable: move the pointer slowly from the trigger onto the new content. It should stay open the whole way.
  3. Dismissible: while the content is open and the pointer is still, press Escape. It should close without you moving the mouse.
  4. Persistent: leave the pointer resting on the trigger for 20 seconds. The content should not disappear on its own.
  5. Repeat with the keyboard: Tab to each trigger, check the same content appears on focus, that Escape closes it without moving focus, and that it stays until you Tab away.
  6. Note each failure with the page, the element and a screenshot so it can be fixed in the theme or reported to the app's developer.

This is a manual check. W3C reminds site owners that tools cannot check all accessibility aspects automatically and that human judgement is required.3

How to fix what you find

  • Add an Escape key handler that hides the hover or focus content without moving focus, as in W3C's dismissible tooltip example.1
  • Remove gaps between a trigger and its panel, or position the panel so it overlaps or sits directly next to the trigger, so the pointer can reach it.1
  • Remove timers that hide tooltips or menus automatically; hide them when hover and focus leave both the trigger and the content.
  • Show the same content on :focus or :focus-within as on :hover, and for menus use a real button that opens the panel on click.

Make these changes in the theme code rather than with a one-off script, so they survive theme updates. See how to fix accessibility without breaking your theme.

Where Jralo fits

Jralo for Shopify, our app, checks your homepage and up to five linked pages against the WCAG 2.2 A and AA rules that automated testing can check, and keeps a dated record of every check; ongoing monitoring are on the paid Site plan.4 Hover and focus behaviour is something you test with a mouse and keyboard, so keep the short manual test above. You can install Jralo from the Shopify App Store; it is free to install. Disclosure: Jralo is our own product, made by Misimi Corp.

What else do people ask?

Does WCAG 1.4.13 apply to the title attribute tooltip?

No. The exception covers additional content whose visual presentation is controlled by the user agent and not modified by the author. W3C gives browser tooltips created with the HTML title attribute as the example.

Does a hover mega menu fail WCAG 1.4.13?

Not by itself. W3C names sub-menus that display on hover and focus as covered content, so the menu must be dismissible without moving the pointer or focus, stay open while the pointer moves onto it, and stay visible until the user moves away or dismisses it.

Does an error message that appears on focus have to be dismissible?

No. The dismissible condition has an exemption for additional content that communicates an input error, and for content that does not obscure or replace other content. It still has to be hoverable and persistent.

How can Jralo help?

Jralo checks Shopify stores and other sites against the WCAG 2.2 A and AA rules that automated testing can check, and keeps a dated record of every check. Hover and focus behaviour needs a person with a mouse and keyboard, so keep the short manual test in this guide as well.

Check your site now

Jralo's free check tests your homepage and up to five pages for accessibility (WCAG 2.2 A and AA) and website QA problems, and tells you which countries' accessibility laws are likely relevant to you. No sign-up.

Run the free check

Where do these facts come from?

Every number and legal statement in this post links to one of these sources, read on 19 November 2026.

  1. W3C WAI: Understanding WCAG 2.2, Success Criterion 1.4.13 Content on Hover or Focus
  2. W3C: Web Content Accessibility Guidelines (WCAG) 2.2, Success Criterion 1.4.13
  3. W3C WAI: Selecting Web Accessibility Evaluation Tools
  4. Shopify App Store: Jralo listing

More questions

What should you read next?