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

Add aria-label to icon driven dropdown menus #2516

Merged
merged 1 commit into from Apr 27, 2017
Merged

Add aria-label to icon driven dropdown menus #2516

merged 1 commit into from Apr 27, 2017

Conversation

LindseyB
Copy link
Contributor

@LindseyB LindseyB commented Apr 27, 2017

I decided to follow the suggestions made by font awesome and just add the aria-label to the link itself. This also allows for the text placed here to be pass in so that all places that use this drop down component should have the increased a11y (defaulted to "Menu" so it's there no matter what).

Closes #1953

I'd like to add some tests on this but I wasn't entirely sure how to run the javascript tests (if someone can show me I will gladly add (though there's not much really to be tested).

@Gargron Gargron merged commit 43a29a9 into mastodon:master Apr 27, 2017
seefood pushed a commit to Toootim/mastodon that referenced this pull request Apr 28, 2017
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.

None yet

2 participants