← Back to release summary

CSS Selectors 4 Pseudo-Class :focus-visible

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 86)
Intent stage
None

Summary

The :focus-visible pseudo-class makes it easier for developers to create focus styles that appropriately match the user's input modality. It is designed to help prevent a common anti-pattern where developers remove focus outlines for mouse users, and inadvertently make their sites inaccessible to keyboard users.

Standards & signals

View on chromestatus.com