Skip to content

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

Merged
faceleg merged 1 commit intolikeastore:masterfrom
Comcast:master
Feb 6, 2017
Merged

changes close element to button with proper accessibility rules (Fixes Issue #511)#533
faceleg merged 1 commit intolikeastore:masterfrom
Comcast:master

Conversation

@timjenkins
Copy link
Copy Markdown
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
Copy Markdown
Contributor

faceleg commented Feb 6, 2017

Thanks, appreciate it

@timjenkins
Copy link
Copy Markdown
Contributor Author

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

@faceleg
Copy link
Copy Markdown
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