Content generated by hover or focus of an element does not disappear until dismissed, is no longer valid, or hover or focus is removed.
WGAC 2 criterion | 1.4.13 Content on Hover or Focus (AA) |
---|---|
Category | Keyboard |
ACT Rules |
WCAG 2 criterion
1.4.13 Content on Hover or Focus (Level AA)
Tools and requirements
- Keyboard
Test procedure
When interacting with elements on the page, if any content appears on hover or focus and disappears when hover or focus leaves (like a dropdown or a tooltip).
- First verify that the content disappears when hover or focus leaves. If the content is persistent on mouseout/focusout events, this criterion is inapplicable.
- Ensure that the dropdown/tooltip does not disappear on its own without you taking an action to explicitly remove it like using ESC or moving away from the triggering element.