- Success Criterion 1.4.13
- Conformance level AA
Auto-Hiding Hover Content That Times Out Before It’s Read
1.4.13 — Content on Hover or Focus
Scenario
Setting
A telehealth app's video-visit waiting room
What’s wrong
Auto-hiding toast-style hover content timed out before it can be read (not persistent).
Example
function showTip() {
tip.style.display = 'block';
setTimeout(function () { tip.style.display = 'none'; }, 2000);
}
element.addEventListener('mouseenter', showTip); Why it matters
A patient hovering the connection icon to read the troubleshooting tip gets 2 seconds before it vanishes automatically, often before they finish reading it.
How to test
Trigger hover content and time it: if it auto-hides (like a toast) before a normal reading pace could finish it, it fails.
How to fix
Let hover or focus content persist until the user dismisses it or moves away, rather than an arbitrary timer.
element.addEventListener('mouseenter', function () { tip.style.display = 'block'; });
element.addEventListener('mouseleave', function () { tip.style.display = 'none'; }); Outcome
A patient finishes reading the full troubleshooting tip instead of watching it disappear mid-sentence.
Who is affected
Users who read more slowly, including some with cognitive or vision disabilities, lose the message before they can finish it.
Learn more
- Understanding Understanding document (opens in a new tab)
Related scenarios
- Hover Tooltip That Vanishes Before the Pointer Can Reach It
- Hover Content That Can’t Be Dismissed Without Moving the Mouse
- Tooltip That Can’t Be Closed With the Escape Key
- Mega-Menu That Collapses When Crossing the Gap to Reach It
- Hover Preview Card That Vanishes on the Slightest Pointer Move
- Focus-Triggered Popover That Steals or Dumps Keyboard Focus