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

Adds focus style change for buttons #23

Closed
wants to merge 1 commit into from
Closed

Adds focus style change for buttons #23

wants to merge 1 commit into from

Conversation

scottaohara
Copy link
Contributor

This PR allows users navigating by Tab to visually have an idea of where they are in the DOM.

By giving buttons the same visual style as if they were hovered by a mouse, people who navigate by use of non-mouse input devices (keyboards) will have a visual cue of where keyboard focus presently is in the document.

closes #22

This PR allows users navigating by <kbd>Tab</kbd> to visually have an idea of where they are in the DOM, by giving buttons the same visual style as if they were hovered by a mouse.  This is important as people who navigate by use of non-mouse input devices (keyboards) would have no visual cue of where keyboard focus presently was, due to setting `:focus { outline: 0 }`
@BcRikko BcRikko self-requested a review November 29, 2018 13:54
@BcRikko BcRikko added the bug Something isn't working label Nov 29, 2018
@scottaohara
Copy link
Contributor Author

Looks like #24 duplicates and expands on this PR.

I will close this so as to not have conflicting work.

@scottaohara scottaohara deleted the patch-1 branch November 29, 2018 15:41
@BcRikko BcRikko added the duplicate This issue or pull request already exists label Nov 29, 2018
@BcRikko
Copy link
Member

BcRikko commented Nov 29, 2018

Thanks for closing PR. 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants