Skip to content

Glossary: Web Accessibility

:focus-visible

Also written: focus-visible, outline-offset

A CSS selector matching an element when the browser decides the user needs to see focus, such as after a Tab press but not a mouse click. It styles a custom focus ring, and outline-offset leaves a gap so the ring shows even around a same-colored button.

Where the book teaches it

Related terms

Focus indicator