About Accessibility by Keyboard

To make specific HTML element browsable and focusable by [Tab] and [Shift] + [Tab] keys, add tabindex="0" attribute to it.

You can also customize the focused state in CSS:

div:focus {
    outline: none;
    /* add your custom style here… */
}

Tips and Tricks Web Design Accessibility HTML5 CSS3 CSS2