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

[Accessibility] The content in the tooltip is not hoverable. #3880

Closed
puneet-ahuja opened this issue Feb 22, 2024 · 4 comments
Closed

[Accessibility] The content in the tooltip is not hoverable. #3880

puneet-ahuja opened this issue Feb 22, 2024 · 4 comments
Labels
bug For bugs or other software errors

Comments

@puneet-ahuja
Copy link

The content in the tooltips should stick and user should be able to move mouse over the tooltip.

Steps to replicate:

Open the Codesandbox Link.

The above link opens an interactive multi-line chart.
We can access the tooltips on the lines using the mouse pointer but we are not able to hover mouse pointer over the tooltip.

@puneet-ahuja puneet-ahuja added the bug For bugs or other software errors label Feb 22, 2024
@domoritz
Copy link
Member

domoritz commented Feb 22, 2024

I think you are talking about Vega tooltips which is a specific implementation of the tooltip api in Vega. Default tooltips in Vega use the html title property. Is that right? Then we should move this and some of the other issues you filed.

@puneet-ahuja
Copy link
Author

Hey @domoritz ,

We are using vega-lite and internally it is using vega-tooltip to plot the tooltip.
Please let me know where should I add this feature request.
Thanks.

@puneet-ahuja
Copy link
Author

Hey @domoritz,
Rechecking in case my previous message got overlooked.

@domoritz
Copy link
Member

domoritz commented Mar 11, 2024

Thanks for your patience with me getting to triage this and thanks for filing this and the other issues.

I think this is a specific enhancement request for https://github.com/vega/vega-tooltip. We don't have an option to keep the tooltip visible when you hover over it but I would argue that we want to be careful with such a design as it make it hard to move the cursor down towards an element that is covered by a previous tooltip.

I'm going to close this issue here and opened vega/vega-tooltip#890 with the ask to add an option to support this feature. Since you added the AX keyword to the title, please explain why this is AX related in a comment on that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For bugs or other software errors
Projects
None yet
Development

No branches or pull requests

2 participants