Accessibility·Advanced·Conceptual·1 min read
Should clicking a control always show focus-visible styling?
Short interview answer
:focus-visible lets the browser infer when a strong focus indicator is needed, generally preserving it for keyboard navigation without forcing identical pointer styling.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.