ARTICLE AD BOX
That's browser's heuristics. For instance in Firefox and Chrome (at least on mac) if you do focus the "Focus" button manually, before re-targeting the focus by either clicking the button, pressing enter or space, then the focus ring will move to the "Target" button and the selector will apply. Safari does it differently (ofc). But it's unclear what you are after: either you want to match when this heuristic kicks in and :focus-visible works for that, either you don't, then you use another selector, but you need to tell us what you want to match.
Kaiido
– Kaiido
2026-03-26 01:11:57 +00:00
Commented 6 hours ago
