Leaflet.NavBar icon indicating copy to clipboard operation
Leaflet.NavBar copied to clipboard

[accessibility] Convey the disabled state to screen reader users

Open Malvoz opened this issue 2 years ago • 1 comments

When the controls are disabled (leaflet-control-navbar-back-disabled, leaflet-control-navbar-fwd-disabled) they should be conveyed as such to screen reader users.

This can be achieved using aria-disabled="true".

Alternatively, the controls could be taken out of the focus order (remove href="#"), and set to aria-hidden="true".

Malvoz avatar Jun 21 '22 01:06 Malvoz