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

An accessibility control for Mapbox GL JS

Results 15 mapbox-gl-accessibility issues
Sort by recently updated
recently updated
newest added

https://github.com/mapbox/mapbox-gl-accessibility#demo: > 1. Go to https://labs.mapbox.com/mapbox-gl-accessibility Prompts "Requires an accessToken in localStorage. Add with localStorage.setItem('accessToken', {YOUR TOKEN})", is this expected?

enabling GitHub Advanced Security (GHAS) code scanning (CodeQL), see https://github.com/mapbox/gl-internal/issues/1608 with @ryanhamley

### 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...

The accessible elements currently have a fixed width and height given in the plugin options. It would be nice to set from an expression evaluated per feature. For example if...

iOS SDK parity

It looks like multiple accessible markers are being added when features span more than one tile ![duplicate](https://user-images.githubusercontent.com/61150/93719703-44e57580-fb52-11ea-82f3-fc2e4439438f.gif) From the docs on [`queryrenderedfeatures`](https://docs.mapbox.com/mapbox-gl-js/api/map/#map#queryrenderedfeatures): > Because features come from tiled vector data...

bug

To avoid [annoyances like this](https://github.com/mapbox/mapbox-gl-accessibility/pull/35#discussion_r491709277) I wonder if this plugin should add an event listener that is fired when elements have been added to the page ```js this.map.fire('accessibility.load'); ```

good first issue
question

When [Mapbox GL Language](https://github.com/mapbox/mapbox-gl-language/) is present, default to the `name_*` property that corresponds to the user’s current locale. We could keep the `accessibleLabelProperty` property around for data visualization use cases...

enhancement
iOS SDK parity

Map mouse events and their callbacks drive a large amount of 3rd party behavior in MapboxGL maps. I think the DOM nodes generated by mapbox-gl-accessibility should also inherit event callback...

We should review the [Web Content Accessibility Guidelines (WCAG)](https://www.w3.org/WAI/standards-guidelines/wcag/) and ensure this plugin does as much as it can to ensure compliance.

Some hidden element should summarize the state of the map. The iOS implementation in mapbox/mapbox-gl-native#9950 summarizes the following information whenever the user zooms in or out: * The zoom level...

enhancement
iOS SDK parity