mapbox-gl-accessibility icon indicating copy to clipboard operation
mapbox-gl-accessibility copied to clipboard

Add tab index option

Open craigmulligan opened this issue 4 years ago • 0 comments

Description of changes

I needed a way to add some predictability when tabbing through features on a complex map, are you interested in supporting this functionality?

It works by using the feature.properties.tabindex property & passing that through to the button.

For author

  • [ ] Cite changes under the HEAD tag in CHANGELOG.md
  • [x] Add tests for new functionality

For reviewer

  • [ ] Run npm test to confirn browser tests pass
  • [ ] Confirm tests cover all new functionality

craigmulligan avatar Oct 26 '21 08:10 craigmulligan