Custom Focus Indicator Variants
Three focus-visible treatments — solid ring, underline + color shift, and soft box-shadow glow — each pairing a non-color signal with a color signal so focus stays visible across contrast modes.
Three focus-visible treatments — solid ring, underline + color shift, and soft box-shadow glow — each pairing a non-color signal with a color signal so focus stays visible across contrast modes.
Form / focus-visible / non-color signal
Three focus-visible treatments that each pair a non-color signal — outline width, underline, or box-shadow shape — with a color signal so focus stays legible across contrast modes.
Tab to the button.
Classic high-contrast outline
A solid outline sits offset outside the control, anchoring focus with maximum contrast while staying outside of the rendering box.
Tab to the button.
Text-style focus for inline controls
Focus-visible draws a thick underline plus a color shift on the label — the non-color signal prevents focus from relying on chroma alone.
Tab to the button.
Box-shadow ring for rounded surfaces
A soft box-shadow ring follows the border-radius and layers above the background, preserving focus visibility on heavily rounded buttons.