Correct: Focus must be visible

When you are using the keyboard to navigate the page, you need to be able to see what element has focus so you can select it.

Correct Code

// from MDN example
  a:focus {
    outline: 4px dotted #e73;
    outline-offset: 4px;
    background: #ffa;
  }

Resources