Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix components focus issue #3143

Merged
merged 3 commits into from
Nov 8, 2019
Merged

Fix components focus issue #3143

merged 3 commits into from
Nov 8, 2019

Conversation

korhaliv
Copy link
Member

@korhaliv korhaliv commented Nov 8, 2019

Description:

Resolves #3127

Motivation and Context:

Currently we use :focus selector to described focused state for components. This is used for accessibility support. The side effect is that components also transition to a focused state on click, which causes visual issues in some cases. This pr solves the issue by leveraging focus-visible pseudostyle polyfill which was specifically designed to handle such cases.

How Has This Been Tested?

Manually

Types of changes:

Bugfix

Checklist:

  • My code follows the code style of this project.
  • I have reviewed and updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes where needed.
  • All new and existing tests passed.
  • My commits have been squashed into a concise set of changes.

@korhaliv korhaliv added the type: bug 🐛 Something isn't working label Nov 8, 2019
@korhaliv korhaliv added this to the v0.6.0-beta milestone Nov 8, 2019
@korhaliv korhaliv requested a review from mrfelton November 8, 2019 11:06
@korhaliv korhaliv self-assigned this Nov 8, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 22.652% when pulling d70b271 on korhaliv:fix/button-focus into cf71b76 on LN-Zap:next.

Copy link
Member

@mrfelton mrfelton left a comment

Choose a reason for hiding this comment

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

Tested ACK d70b271

@mrfelton mrfelton merged commit 7aa9d24 into LN-Zap:next Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants