WCAG 1.4.13 Content on Hover or Focus: a Shopify test
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
titletooltips, 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
- 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.
- Hoverable: move the pointer slowly from the trigger onto the new content. It should stay open the whole way.
- Dismissible: while the content is open and the pointer is still, press Escape. It should close without you moving the mouse.
- Persistent: leave the pointer resting on the trigger for 20 seconds. The content should not disappear on its own.
- 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.
- 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
:focusor:focus-withinas 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 checkWhere do these facts come from?
Every number and legal statement in this post links to one of these sources, read on 19 November 2026.
More questions
- EN 301 549 explained: the European accessibility standard and WCAG
- Jralo MCP real-time alerts: website monitoring for your agent
- Why are so many website accessibility lawsuits filed in New York?
- Shopify accessibility statement: free feedback wording
- California's Unruh Act and websites: what store owners should know
- PHP2Shell: is your website affected, and what to do
- Black Friday checkout accessibility: a one-week checklist
- Israel's website accessibility regulations explained
- India's RPwD Act 2016 and websites: what businesses need to know
- France: accessibility rules for online shops (EAA and RGAA)
- Germany's BFSG: what it means for online shops
- WCAG 1.4.12 Text Spacing: how to test a Shopify store
- Does Australia's Disability Discrimination Act apply to websites?
- AODA website requirements checklist for Ontario businesses
- Skip links on a Shopify theme: what WCAG 2.4.1 requires
- Does the UK Equality Act 2010 apply to my website?
- What makes a good page title for product, collection and checkout pages?
- Why do I need to set the page language for screen readers?
- How do I make log-in and CAPTCHA accessible under WCAG 3.3.8?
- How do I make animation and motion on my website accessible?
- How do I make data tables and size charts accessible?
- How do I write accessible form error messages?
- How do I make product search, filters and sorting accessible?
- PDFs on your website: when to use HTML instead, and how to make PDFs accessible
- Does my website still work when visitors zoom in? Resize and reflow explained
- How big do buttons and links need to be under WCAG 2.5.8?
- How do I make a cookie consent banner accessible?
- How do I make pop-ups and modal dialogs accessible?
- How do I write link text that makes sense out of context?
- Why does heading structure matter for screen reader users?
- Visible focus: why removing outlines hurts, and what WCAG 2.2 asks
- Accessible navigation and mega menus
- Accessible product image galleries, sliders and carousels
- How to make a Shopify cart drawer accessible
- Accessible Shopify variant pickers and colour swatches
- The European Accessibility Act: a step-by-step plan for small online sellers
- ADA Title III and websites in plain English
- What to put in an accessibility statement
- How to make a WooCommerce store accessible
- How to fix accessibility issues without breaking your theme
- How to make a Shopify theme accessible: settings, apps and what to check
- Captions, transcripts and audio description for product and marketing video
- What a screen reader user hears on your product page, and how to fix it
- Accessible forms and checkout: labels, errors and autocomplete
- How to test your website with only a keyboard in 10 minutes
- Colour contrast explained: what WCAG asks and how to fix brand colours
- Why automated accessibility testing finds some problems but not all
- How do I write alt text that actually helps?
- What did WCAG 2.2 add to WCAG 2.1?
- How can I prove my website is monitored for accessibility?
- Does the European Accessibility Act apply to my online store?
- Do accessibility widgets make a website ADA compliant?
- Got an ADA website demand letter? What to do first
- How do I check if my website is accessible? A 15-minute method
- Website accessibility laws by country (2026)