dotcom-page-kit
dotcom-page-kit copied to clipboard
Remove the `:focus-visible` polyfill?
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/