-
Notifications
You must be signed in to change notification settings - Fork 525
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
VictoryTooltip does not support accessible SVG labels #2660
Comments
Thanks for the issue @noranda . The code around containers is a little tricky and we could handle this in a couple different ways. Just a couple questions as we move along:
|
Thanks @carbonrobot!
|
There's a way to do this, by customizing the
It's a little deep, but you customize the |
@noranda Just wanted to follow up; does this achieve the desired accessibility? The |
@scottrippey I believe this solution will work, thanks! |
Describe the bug
VictoryTooltip does not have an option for providing an accessible label to it's SVG element. This is causing accessibility errors.
For the actual chart SVG, I can pass in a
containerId
to my container to provide accessible labels. I cannot do the same withVictoryTooltip
.Victory version
36.6.10
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to pass in a
containerId
to VictoryTooltip in order to make the SVG accessible, like I can with VictoryBar and VictoryLine.Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: