-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility WCAG issues #13337
Comments
Hey, @spektred. Thank you for your report! I think it would be good if you share a link to the spreadsheet or the list with short descriptions right here, and after that, we can decide what to do next. |
Hi, thanks for responding to my thread @underoot ! I know ADA issues can be a challenge to resolve. After reviewing all of the issues again, I spotted some more that I was able to resolve on my own, but here are the remaining 4 items which appear outside of our control. 1.
This is regarding the maps 'Display zoom and rotation' control. Without using a mouse, you can use the "tab" key on your keyboard to access the zoom-in/zoom-out buttons (which are inside the map) and you can click on them using the "enter" key, but when you tab down to the rotation control, there doesn't appear to be any way to use this element without a mouse. Clicking enter does nothing. Perhaps it could be modified to respond to the arrow keys or something? Here's an demo in the mapbox documentation. Our ADA agency continues:
2.
So we have a map with numerous markers/pins on our website and when you click on the markers a tooltip/popup will appear for each of them. Similar to this demo. https://docs.mapbox.com/mapbox-gl-js/example/set-popup/ However, in that example, you can navigate to the marker using the "tab" key and open the tooltip using the enter key, so its quite ADA compliant. Ours isn't doing that. Similar to this example here, this map has markers, but in this case the tab key cannot reach them. Why? The first example is ADA compliant but the second one isn't, but ideally all maps should be.
3.
At the bottom right corner of every map, there are some Mapbox copyright links. For some reason these hyperlinks contain role="listitem". My AI client is telling me that the It also seems completely unnecessary to even have
4.
I'm not sure if you have the ability to fix this one, but it has to do with insufficient color contrast, which can impact people who are color blind. Certain parts of text in the map are hard to read. This example is specifically referring to the Gulf of Mexico. But there may be others like it as well in other oceans. Notice the blue words of "Gulf of Mexico" right on top of the blue-colored ocean. It would be very difficult for someone with poor eyesight to see that. If I had the ability to do so, I would change those words to black (#000000) and any other instance of blue text on top of a blue ocean.
Those are all of the issues we have for now. Thanks again for any help you can provide us on this. And if you have any questions about any of these don't hesitate to ask! I can reach out to them and get detailed answers. |
@spektred Thank you for the detailed and valuable description of the issues. We will take a look into it later when we will have time. Thank you again for your contribution! |
mapbox-gl-js version 2.5.1:
Hello, my employer is working with an ADA agency and they made us aware of 8 accessibility issues pertaining to our mapbox installation and it appears that these are global issues which reside outside our access to resolve. Perhaps many mapbox users have the same ADA issues that we uncovered.
So I was wondering, should I submit each violation as a separate issue here on github? Or should I simply post all 8 issues here? Or is there a developer here who would be willing to just knock out each of them if I send over the spreadsheet? Some of them are quite easy (i.e. add a "title" element as a child of the "svg" element )
Thanks!
Links to related documentation
The text was updated successfully, but these errors were encountered: