Creative workflow
Keep Keyboard Focus Visible in Forced Colors

A review button has a clear shadow ring in the standard theme. In Chromium’s forced-colors emulation, the shadow disappears. We pressed Tab on a shadow-only control and a second control with a forced-colors outline to compare the actual result.
Quick answer
Use a visible native outline or a :focus-visible outline inside @media (forced-colors: active). Tab through the actual controls. Check that the outline follows the active element and remains distinguishable next to other borders.
1. Reproduce the loss with the keyboard
Turn on forced-colors emulation in the browser’s rendering tools or use a system contrast theme. Click neutral space, then Tab. In the sample the first control has focus, but its shadow computes to none and its outline was explicitly disabled in the normal focus rule.
2. Give forced colors its own visible outline
The adjusted control keeps its default-theme styling and adds outline: 3px solid Highlight with outline-offset: 4px inside the media query. Highlight is a system color. Check it on the surrounding surface because theme colors and the role of an element can affect visibility.
3. Test the surrounding layout too
Tab backward and forward through real inputs, links and buttons. Inspect scroll containers for clipping and compare the ring with nearby borders. Use the emulator for repeatable reproduction and confirm on the target operating system or browser when you can.
Start with the reference

Compare the two proofs in Ciyo
We imported the two proofs into a private production Ciyo project at the same scale and used Select to drag the comparison into place. This board shows the externally rendered or measured outputs for review.
Both controls were focused by Tab. Chromium suppressed the shadow on the first and displayed a solid three-pixel outline on the second.

Example files
Sources and related reading
Frequently asked questions
Should I opt the whole UI out of forced colors?
Preserve the user’s color preference. Use a dedicated outline or border for essential control states, and reserve exceptions for elements that genuinely require their original colors.
Is a focus indicator still needed if the button has a border?
Yes. The focused state must be visually distinguishable from the same button at rest. Compare both states in the chosen contrast theme.
Review a second version on the canvas
Keep both proofs at the same size and put the exact difference you reviewed in the handoff.