has-tabbed

Small library that adds CSS class to html when user starts tabbing, and removes it if user clicks anywhere.

This enables you to have focus outline only when user is using keyboard. Start tabbing to see it in action.

Find documentation on GitHub.

My BlogGitHubnpm