WCAG 1.4.13 Content on Hover or Focus: explained simply
When a tooltip, sub-menu or similar content appears on mouse hover or keyboard focus, it must stay visible and the pointer must be able to move onto it. If it covers or replaces other content, it must also be dismissible without moving the pointer or focus, unless it reports an input error. Tooltips drawn by the browser alone are exempt.
Last reviewed: Sources
How does your website stand?
The free check shows what can be measured automatically, with the location. No account.
Check website for freeWhat does the criterion require?
Many sites show extra content when you move the mouse pointer over an element ("hover") or reach it with the Tab key (it then has keyboard "focus"). Think of the explanation behind a question mark next to a form field, a preview that pops up over a link, or the sub-menu of a navigation bar. The criterion sets three conditions for such content.
Dismissible. There is a way to dismiss the extra content without moving the pointer or the focus. The W3C gives the Escape key, another documented keyboard shortcut or activating the trigger as examples (SCR39). This condition does not apply in two cases: the content reports an input error, or it does not obscure or replace other content. According to the W3C, other content includes the trigger itself. A tooltip that only covers empty space or a purely decorative graphic therefore needs no separate way to dismiss it.
Hoverable. If hovering can trigger the content, the user must be able to move the pointer from the trigger onto the content without the content disappearing.
Persistent. The content stays visible until hover or focus leaves both the trigger and the extra content, until the user dismisses it, or until its information is no longer valid. The W3C's example of the last case is a "busy" message that no longer applies. It must not vanish by itself after a few seconds.
The people who gain most are those using screen magnification. They see only part of the screen, and that part follows the pointer or the focus. A tooltip can cover exactly what they are trying to read. If it is larger than their view, they have to move the pointer onto it to see all of it. People who use a large mouse pointer do the same, because the pointer hides part of the content. People with low vision or cognitive disabilities get enough time to read, and people with limited pointer accuracy can get rid of content they triggered by accident.
The W3C recommends more predictable ways of adding content where possible. Anything that appears on hover should also appear on keyboard focus; that is covered by 2.1.1 Keyboard.
What is not covered
- Browser tooltips. The browser itself shows the tooltip for the HTML
titleattribute. The exception holds as long as the page does not change how it is presented. A custom tooltip is covered. - Elements that only become visible on focus. A link that skips the navigation and appears when you tab to it is the element itself, not additional content.
- Modal dialogs. They must take focus and so should not appear on hover or focus in the first place. The W3C refers to 3.2.1 On Focus for these.
Common failures
- The pop-up vanishes on the way. A pop-up opens on hover. Under magnification only part of it is visible, and as soon as the pointer moves from the trigger towards it, it closes (F95).
- Other pop-ups get in the way. A chart shows details when you hover over a data point, slightly offset from it. On the way there the pointer crosses other data points, whose pop-ups replace the one you wanted (F95).
- Dismissing only by moving on. A question mark icon after an input field opens an explanation on focus that covers part of the form. The only way to close it is to tab away (F114).
- A sub-menu with no way out. In a horizontal menu bar, hovering over an item opens a sub-menu that covers other content. It only closes when the pointer leaves the item (F114).
- A pop-up on a timer. The tooltip closes by itself after a while. The W3C has only announced a failure technique for this so far; the failure follows from the "persistent" condition, and the test procedure of SCR39 checks exactly that.
Checked automatically and checked by you
What the automated check detects
The automated check does not measure this criterion. It is covered by a question in the manual checks.
What you check yourself
You answer this question in the manual checks of your scan.
Can additional content that appears (tooltip, submenu) be dismissed and hovered, and does it stay?
- Hover over elements with a tooltip or submenu with the mouse and focus them with the Tab key. Note where additional content appears.
- Dismissible: the additional content must be closable without moving the mouse or focus away, usually with Esc. This does not apply if it reports an input error or does not obscure or replace other content.
- Hoverable and persistent: move the mouse from the trigger onto the content that appeared; it must not vanish. It must stay until you leave the trigger, dismiss it or its information is no longer valid.
Classification
- Level
- AA
- Introduced in
- WCAG 2.1
- W3C explanation
- Understanding 1.4.13
Sources
- WCAG 2.2, W3C Recommendation
- Understanding 1.4.13
- W3C Techniques, SCR39: Making content on focus or hover hoverable, dismissible, and persistent, retrieved on November 28, 2026
- W3C Techniques, F95: Failure of Success Criterion 1.4.13 due to content shown on hover not being hoverable, retrieved on November 28, 2026
- W3C Techniques, F114: Failure of Success Criterion 1.4.13 Content on hover or focus when content cannot be dismissed without moving the pointer or the keyboard focus, retrieved on November 28, 2026