Markers not reachable using keyboard [Accessibility issue] #3628
-
We are using d3-geo to display worldmap with markers on few countries, while doing accessibility testing using Accessibility Insights for Web extension, none of the markers(countries) are reachable using tab key. This is a serious concern for accessibility as the interactive elements are not reachable through keyboard. Please let me know if there is any fix for this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Note that d3-geo is only concerned with creating the proper path for the svg or canvas context. |
Beta Was this translation helpful? Give feedback.
-
You might want to use tabindex and onfocus to build interactivity. See for example https://observablehq.com/embed/@fil/svg-tabindex?cells=map |
Beta Was this translation helpful? Give feedback.
You might want to use tabindex and onfocus to build interactivity.
See for example https://observablehq.com/embed/@fil/svg-tabindex?cells=map