react-simple-maps
react-simple-maps copied to clipboard
SVG generated by `Geography` should not generate elements with `tabindex="0"`
Description
SVG nodes generated by Geography component all have an attribute tabindex="0".
Screenshot taken from generated svg from this example:

This behaviour adds any generated svg node to the tab navigation, which is not recommended for obvious accessibility reasons.
Users without a mouse might be trapped in there for a while :sweat_smile:
Workaround
This line is culprit
My workaround, as we can pass down extra props to the Geography component, is to override this behavior by adding tabindex="-1", which should be the expected default.