Skip to content

The <div> element containing the scale information has an aria-label but it does not have a role #146

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

Closed
prushforth opened this issue Jan 23, 2025 · 0 comments
Labels
WCAG 4.1.2 Issues that are failures under the WCAG “4.1.2 Name, Role, Value” criterion

Comments

@prushforth
Copy link
Member

Although NVDA still reads what is in the aria-label, using aria-label on generic elements without appropriate roles is considered a concrete failure.

Code:
<div class="mapml-control-scale leaflet-control" tabindex="0" aria-label="2 centimeters to 500 meters">
</div>
Screenshot showing where it is located:

Image

@prushforth prushforth added the WCAG 4.1.2 Issues that are failures under the WCAG “4.1.2 Name, Role, Value” criterion label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WCAG 4.1.2 Issues that are failures under the WCAG “4.1.2 Name, Role, Value” criterion
Projects
None yet
Development

No branches or pull requests

1 participant