Skip to content

fix(checkbox): don't hide focus indicator on space press - #8539

Merged
tinayuangao merged 1 commit into
angular:masterfrom
devversion:fix/checkbox-hide-focus-indicator-space
Nov 29, 2017
Merged

fix(checkbox): don't hide focus indicator on space press#8539
tinayuangao merged 1 commit into
angular:masterfrom
devversion:fix/checkbox-hide-focus-indicator-space

Conversation

@devversion

Copy link
Copy Markdown
Member

No longer hides the focus indicator ripple on click/space. Right now if a keyboard user tabs to the checkbox and presses SPACE to toggle the checkbox, the focus indicator ripple disappears. This makes it hard to see what element is focused or not.

For comparison, native checkboxes also keep the focus effect on keyboard press. Also Polymer follows the same convention with the focus indicator.

No longer hides the focus indicator ripple on click/space. Right now if a keyboard user tabs to the checkbox and presses SPACE to toggle the checkbox, the focus indicator ripple disappears. This makes it hard to see what element is focused or not.
For comparison, native checkboxes also keep the focus effect on keyboard press. Also Polymer follows the same convention with the focus indicator.
@devversiondevversion added Accessibility This issue is related to accessibility (a11y) pr: needs review labels Nov 19, 2017
@googlebotgooglebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 19, 2017

@tinayuangaotinayuangao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devversiondevversion added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Nov 20, 2017
@tinayuangao
tinayuangao merged commit 9e35bf0 into angular:masterNov 29, 2017
tinayuangao pushed a commit to tinayuangao/material2 that referenced this pull request Nov 29, 2017
No longer hides the focus indicator ripple on click/space. Right now if a keyboard user tabs to the checkbox and presses SPACE to toggle the checkbox, the focus indicator ripple disappears. This makes it hard to see what element is focused or not.
For comparison, native checkboxes also keep the focus effect on keyboard press. Also Polymer follows the same convention with the focus indicator.
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-botangular-automatic-lock-botBot locked and limited conversation to collaborators Sep 7, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

AccessibilityThis issue is related to accessibility (a11y)action: mergeThe PR is ready for merge by the caretakercla: yesPR author has agreed to Google's Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@devversion@tinayuangao@googlebot@mmalerba