mapbox-gl-accessibility

An accessibility control for Mapbox GL JS that lets screen reader users hear names of map features. It helps make web maps usable for people who rely on voiceover.

Share on XLicense: ISC

Overview

Mapbox GL Accessibility is a control for Mapbox GL JS that helps screen reader users hear the names of map features. After the map loads, it finds features in the layers you list and adds button elements for them, using a data property you choose as the spoken label. The README describes it as a work in progress and welcomes contributions.

Key features

  • Adds a control to a Mapbox GL JS map
  • Uses a chosen feature property as the voiceover text
  • Works on the style layers you list
  • Includes CSS to hide the buttons visually

Best for

Web developers who want their Mapbox GL JS maps to be readable by screen readers. The project is a work in progress.

Upstream
mapbox/mapbox-gl-accessibility
Fork on GitHub
Guo-astro/mapbox-gl-accessibility
Upstream stars
70
Category
Maps and geospatial
License
ISC
Forked
2020-11-01
Sync status
In syncLast synced 2026-09-29