Skip to content

use aria-label on control buttons - #3492

Merged
lucaswoj merged 1 commit into
mapbox:masterfrom
andrewharvey:controls-aria-label
Oct 31, 2016
Merged

lucaswoj merged 1 commit into
mapbox:masterfrom
andrewharvey:controls-aria-label

Conversation

@andrewharvey

Copy link
Copy Markdown
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.

@lucaswoj lucaswoj left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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