Skip to content
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

Open
sprungmarker opened this issue Mar 5, 2019 · 5 comments · May be fixed by #35151
Open

Tooltip / Popover: WCAG 2.1 - Content should stay visible on hover #28411

sprungmarker opened this issue Mar 5, 2019 · 5 comments · May be fixed by #35151

Comments

@sprungmarker
Copy link

sprungmarker commented Mar 5, 2019

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

@sprungmarker sprungmarker changed the title Tooltip / Popover: WCAG 2.1 - Content stay visible on hover over Tooltip / Popover: WCAG 2.1 - Content should stay visible on hover Mar 5, 2019
@patrickhlauke
Copy link
Member

and it should be dismissible without needing to move the mouse/pointer

@sprungmarker
Copy link
Author

@patrickhlauke yes i.e. ESC

@viktomas
Copy link

viktomas commented Dec 2, 2019

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

@RyanBerliner
Copy link
Contributor

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.

@patrickhlauke
Copy link
Member

@RyanBerliner if you want to have a crack at this, sure...go for it

@RyanBerliner RyanBerliner linked a pull request Oct 9, 2021 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants