Bad practice: Tabindex 3

Recipe 6.2 Make elements focusable

Sample:

Code:

<style>
   :focus-visible {
    outline: 4px solid #123456;
    outline-offset: 4px;
  }
</style>

<button>Button 1</button>
<button tabindex="1">Button 2</button>
<button>Button 3</button>
<button tabindex="2">Button 4</button>
<button>Button 5</button>