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] Convey the disabled state to screen reader users #6

Open
Malvoz opened this issue Jun 21, 2022 · 1 comment
Open

[accessibility] Convey the disabled state to screen reader users #6

Malvoz opened this issue Jun 21, 2022 · 1 comment

Comments

@Malvoz
Copy link

Malvoz commented Jun 21, 2022

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
Copy link
Author

Malvoz commented Jun 21, 2022

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