Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(switch): focus styles on keyboard interaction only #2273

Closed
wants to merge 2 commits into from

Conversation

marcysutton
Copy link
Contributor

Updates mdCheckbox, mdSwitch and mdRadioGroup to only show focus on keyboard interaction using JavaScript and the .md-focused CSS class (also updated mdButton). This is required to offset the browser's default behavior of setting focus on click and showing a persistent focus style. The UX team also requested that focus styles only show on true keyboard interactions.

Closes #1336

@ajoslin ajoslin added the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Apr 11, 2015
@ThomasBurleson ThomasBurleson modified the milestone: 0.9.0 Apr 13, 2015
@ThomasBurleson ThomasBurleson self-assigned this Apr 13, 2015
@marcysutton marcysutton added resolution: fixed and removed in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs labels Apr 13, 2015
Marcy Sutton added 2 commits April 13, 2015 12:17
Updates button, checkbox and radio to only show focus on keyboard interaction using the .md-focused class

Closes #1336
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mdCheckbox: focus should show ink circle
3 participants