-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltip / Popover: WCAG 2.1 - Content should stay visible on hover #28411
Comments
and it should be dismissible without needing to move the mouse/pointer |
@patrickhlauke yes i.e. ESC |
This would be also very useful when having buttons or links in the popover content. Edit: We've used Popover to implement context menu in Gitter and the GIF on the following merge request https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1669 shows how staying visible on hover would benefit our use case |
Is this something the team would be open to including in a v5 release? Making the tooltips both hoverable and dismissable to satisfy 1.4.13 is something I'd love to help get done. Both can be accomplished in a non-breaking fashion. Let me know and I can get a pr together if you all are on board. |
@RyanBerliner if you want to have a crack at this, sure...go for it |
For WCAG 2.1 - 1.4.13 Content on Hover or Focus
https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html
Content area for tooltips und popover should stay visible on hover i.e. with a mouse.
Especially for low vision users this is important.
Example WAI: https://codepen.io/Moiety/pen/LaPvWy
The text was updated successfully, but these errors were encountered: