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

implement default focus-visible #1124

Merged
merged 3 commits into from
Mar 7, 2022

Conversation

Lausselloic
Copy link
Member

doesn't only relies on polyfill focus-visible but also implement native :focus-visible
https://caniuse.com/css-focus-visible support is not so bad at time

doesn't only relies on polyfill focus-visible but also implement native :focus-visible
Using the :focus-visible pseudo-class if supported by the browser, duplicate the css code, in case the browser doesn't implement it, won't break the polyfill directive
@julien-deramond julien-deramond force-pushed the Lausselloic-patch-focus-visible branch from 9cd45c6 to f013526 Compare March 7, 2022 11:59
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Haven't seen any regressions so LGTM! 🚀
Thx for this enhancement :)
FYI, I subscribed to WICG/focus-visible#237; it will probably have an impact on this file as well in the future.

@julien-deramond julien-deramond merged commit 7420158 into main Mar 7, 2022
@julien-deramond julien-deramond deleted the Lausselloic-patch-focus-visible branch March 7, 2022 12:14
v5.2.0 automation moved this from In progress to Done Mar 7, 2022
@julien-deramond julien-deramond mentioned this pull request Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants