Skip to content

Remove the :focus-visible polyfill? #961

Open
@notlee

Description

@notlee

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformanceMaking the sites built with Page Kit fasterUI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions