New Tool Radar

AI Design Workflows

How to Check That Hover Content Can Be Dismissed and Stays Visible

Check that content shown on hover can be dismissed without moving the pointer and stays visible while you read it.

Schematic with three steps: hover to show the content, move the pointer onto it, dismiss it without moving away.

Tooltips and hover cards are useful until they trap you: the extra content appears, covers what you were reading, and vanishes the moment you move toward it. WCAG requires hover content to be dismissible, hoverable, and persistent, so people can read it in their own time.

Why this needs its own check

WCAG 2.1 success criterion 1.4.13 Content on Hover or Focus, Level AA, says that where hovering or focusing shows extra content, that content must be dismissible without moving the pointer or focus, hoverable so the pointer can move onto it without it disappearing, and persistent until dismissed or no longer valid. The WCAG 2.2 checklist carries the same rule.

What you need before you start

  • A page with hover content, such as tooltips or preview cards
  • A mouse or trackpad to hover with
  • A keyboard to test the focus version

Step 1 – Trigger the hover content

Hover over each control that shows extra content and write down what appears: a tooltip, a preview card, a submenu. Note any content that appears only on hover and has no focus equivalent.

Step 2 – Try to move the pointer onto the content

Move the pointer from the trigger onto the extra content itself. If the content disappears before the pointer arrives, it fails the hoverable rule. If it stays, try selecting text inside it.

Step 3 – Try to dismiss it without moving away

Press Escape and look for a close control. Content that can only be dismissed by moving the pointer away fails, because moving away also hides what the reader was trying to read.

Worked example

Practice check: a fictional Northgate Cycles product page

The example below is fictional. Northgate Cycles is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.

Part What it should be As shown Result
Size guide tooltip Dismissible, hoverable, persistent Dismissible with Escape, stays while hovered Pass
Colour preview card Dismissible, hoverable, persistent Vanishes when the pointer moves toward it Fail – not hoverable
Delivery info tooltip Dismissible, hoverable, persistent Dismissible, hoverable, persistent Pass
Stock note popover Dismissible, hoverable, persistent No close control and no Escape handling Fail – not dismissible

Only 2 of the 4 checks pass: the size guide tooltip and the delivery info tooltip. The two failures are the colour preview card, which vanishes when approached, and the stock note, which cannot be dismissed.

What to do when something is wrong

Keep hover content open while the pointer is over either the trigger or the content, and add Escape handling plus a visible close control. Give the same content a focus trigger so keyboard users can reach it too.

Expected result. We checked the WCAG 2.2 checklist listed in Sources. We did not test a live Northgate Cycles page. UNTESTED: no hover test was run on a real page; the practice table shows the expected result pattern for a page with two faulty hover elements.

Limits

  • This check covers content shown on hover or focus only. It does not cover modal dialogs, which have their own rules, or content that appears on click.

Sources

See all