You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the visx-text utility function getStringWidth, it creates an svg and appends it to the pages body. Using voiceover on Mac, you can navigate to the svg and it will read out the text element to the user. I think we should add aria-hidden to the svg element to prevent it from being picked up.
The text was updated successfully, but these errors were encountered:
hey @thomashoggard 👋 thanks for highlighting this issue. I agree with your suggested solution, happy to review a PR if someone wants to take a shot at it! 👀
williaster
changed the title
visx-axis utility function getStringWidth generates a svg that screen readers can see
bug(text, shape): measurement utils create svgs that screen readers can see
Jul 23, 2022
Within the visx-text utility function getStringWidth, it creates an svg and appends it to the pages body. Using voiceover on Mac, you can navigate to the svg and it will read out the
text
element to the user. I think we should addaria-hidden
to the svg element to prevent it from being picked up.The text was updated successfully, but these errors were encountered: