Comments (1)
Great idea. However I think mapbox-gl-accessibility should provide an option to use the evaluated value of the text-field
or a feature property. Since:
- Not all accessible layers will have labels, but you might still want to allow users to tab through them and get a descriptive
aria-label
, eg:speaking_head:
for π£οΈ - Sometimes the
aria-label
should be different to the label. eg. When doing clustering using you might want accessible element for the cluster to have anaria-label
ofCluster containing 6 items
instead of thetext-field
of6
.
PS. Thanks for open sourcing this, it makes sense to try to have a shared library that everyone can use rather than everyone trying to implement it themselves within their application.
from mapbox-gl-accessibility.
Related Issues (19)
- Automatically choose layers based on source layers HOT 2
- derive width and height from feature property HOT 2
- build a distributed bundle HOT 9
- Make roads accessible HOT 2
- compliance with WCAG HOT 2
- Link is broken HOT 3
- add image/video of demo to README.md
- Order POIs by proximity to user location HOT 1
- Inherit mouse events HOT 3
- Add some tests HOT 1
- Event listener for when elements are drawn on the page?
- Filter out duplicate features with the largest one
- Error when running `npm install & npm start` HOT 3
- Provide more information about each POI
- Demo requires access token
- Summarize visible places and roads HOT 4
- Use localized name property by default HOT 1
- Accessibility Elements not created on map load
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-gl-accessibility.