Accessibility · Junior · Question 70 of 75
Why is content that appears only on :hover a problem?
- 1Browsers disable hover on high-resolution screens
- 2Hover styles can't change an element's visibility
- 3Keyboard and touch users can't trigger hover
Show the answer
Correct answer: Keyboard and touch users can't trigger hover
Explanation
Add :focus-within or a real button. If the content appears on hover or focus, users must also be able to dismiss it and move the pointer onto it.