NotesCSS
A tiny rule for focus rings
Note
Focus rings are not decoration to be removed when they look untidy. Design them instead.
:focus-visible {
outline: 2px solid var(--ring);
outline-offset: 2px;
border-radius: inherit;
}
Three lines, and every interactive element on the page can be found with a keyboard.