Focus Start here, then press Tab to test the ring.
Contrast against surrounding fill
6.89 to 1
Contrast against control fill
7.26 to 1
Generated stylesheet
A few things to know.
Outline widths range from 0 to 14 px and offsets from −14 to 18 px. Colors are sRGB. The focus tester models a solid ring using the entered box and background colors. Rounded outlines use estimated area. Verify clipping and the actual keyboard experience in your application.
Enter an outline style, width and color. Set the offset to move the stroke toward or away from the button’s edge.
Compare the outline and border samples. Open Focus indicator tester to check a solid ring against its surrounding colors and measure the area changed on focus.
Choose Keyboard focus or Always visible, then copy or download the stylesheet.