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

Remove the :focus-visible polyfill? #961

Open
notlee opened this issue Dec 15, 2022 · 0 comments
Open

Remove the :focus-visible polyfill? #961

notlee opened this issue Dec 15, 2022 · 0 comments
Labels
Performance Making the sites built with Page Kit faster UI

Comments

@notlee
Copy link
Contributor

notlee commented Dec 15, 2022

Origami no longer depend on the focus-visible polyfill, it can likely be dropped from dotcom-page-kit to simplify our tech and keep ft.com performant for readers 🙌

The :focus-visible CSS selector now has wide browser support. Origami provides a :focus fallback for the minority of browsers in the FT’s browser support policy which do not support the :focus-visible selector.

Before dropping the polyfill ensure o-normalise is at 3.3.0 or higher.
https://origami.ft.com/blog/2022/12/14/focus-styles/

@notlee notlee added UI Performance Making the sites built with Page Kit faster labels Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Making the sites built with Page Kit faster UI
Projects
None yet
Development

No branches or pull requests

1 participant