Skip to content
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] Collapsed attribution button should have discernible text #13143

Open
jnapolitan opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@jnapolitan
Copy link

Hi team,

It seems as though when rendering the collapsed attribution button, the <span> nested within the button has an appropriate title attribute applied to it, but the <button> itself does not. This does not meet WCAG and will fail when running Lighthouse/Axe.

image

mapbox-gl-js version: 3.2.0

browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Steps to Trigger Behavior

  1. Load the map at a screen width that renders the collapsed attribution button
  2. Run Lighthouse/Axe devtools, or inspect the element to see the <button> element doesn't have discernible text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant