mapbox / mapbox/mapbox-gl-draw
Accessibility: No keyboard support for drawing shapes with @mapbox/mapbox-gl-draw
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
Hi Mapbox team! 👋
At Elastic, we're using the `@mapbox/mapbox-gl-draw` library to let users draw shapes on the map, which we then use for spatial filtering in Kibana.
However, we've noticed that the current drawing functionality seems to be accessible only via mouse or touch, and we couldn’t find a way to draw using keyboard controls.
Could you confirm whether keyboard-based shape drawing is currently supported in mapbox-gl-draw?
If not, is this something that’s on the roadmap?
We’d love to make this feature accessible to all users. Here's the corresponding Kibana issue for context:
🔗 https://github.com/elastic/kibana/issues/215841
Thanks so much for your work on this library!
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
Review the current mapbox-gl-draw interaction documentation and source to determine whether keyboard-based shape drawing is supported. Compare the findings with the linked Kibana issue and define the expected keyboard interactions and completion criteria before implementation; the payload names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100