Skip to content

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

@prushforth

Description

@prushforth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    WCAG 4.1.2Issues that are failures under the WCAG “4.1.2 Name, Role, Value” criterion

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions