[Feat] Ability to update aria-label on mapboxgl canvas
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.5k
- Forks
- 1.4k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 3
Description
Target Use Case
I need the ability to update the aria-label of the mapboxgl canvas to provide more meaningful and descriptive textual equivalent for users using a screen reader. Currently the canvas (with class "mapboxgl-canvas" and the canvas that gains focus because it's tabIndex is set to 0) is rendered with the aria-label="Map".
Proposal
Ability to update the aria label of the mapboxgl canvas.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where the mapboxgl canvas with class "mapboxgl-canvas" receives its default aria-label="Map" and where the focusable canvas is configured. Determine the existing API entry point for passing accessibility options, then verify that the label can be updated and is exposed to screen readers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- accessibility, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100