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

use aria-label on control buttons #3492

Merged
merged 1 commit into from
Oct 31, 2016

Conversation

andrewharvey
Copy link
Collaborator

Launch Checklist

  • briefly describe the changes in this PR

As far as I can tell it doesn't seem like the navigation controls (zoom, rotate, geolocate) are accessible. As per https://www.w3.org/TR/wai-aria/states_and_properties#aria-label and general advice at http://getbootstrap.com/components/#glyphicons-how-to-use I believe by adding the aria-label attribute to these buttons screen readers etc will be able to provide users more information about what these buttons do.

  • write tests for all new functionality

Not sure this is really applicable here?

  • document any changes to public APIs

No public API changes.

  • post benchmark scores

Shouldn't affect performance.

  • manually test the debug page

Manually tested.

Copy link
Contributor

@lucaswoj lucaswoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lucaswoj lucaswoj merged commit d786b25 into mapbox:master Oct 31, 2016
@lucaswoj
Copy link
Contributor

Thanks @andrewharvey

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

Successfully merging this pull request may close these issues.

2 participants