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

changes close element to button with proper accessibility rules (Fixes Issue #511) #533

Merged
merged 1 commit into from
Feb 6, 2017

Conversation

timjenkins
Copy link
Contributor

@timjenkins timjenkins commented Feb 6, 2017

The close button is not appearing on screen readers because it is not marked up as an interactable element.

  • element changed to button
  • aria-label set to "Dismiss" to avoid confusion with closing the tab, browser, or whole page.
  • css rules added to remove default browser styling of button elements

Related issues
#511

This contribution is provided under the MIT License.

@faceleg faceleg merged commit 5213b34 into likeastore:master Feb 6, 2017
@faceleg
Copy link
Contributor

faceleg commented Feb 6, 2017

Thanks, appreciate it

@timjenkins
Copy link
Contributor Author

@faceleg thanks! any idea how long it will take to get this into a release?

@faceleg
Copy link
Contributor

faceleg commented Feb 7, 2017

Done

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