Remove outline from button
and a
, unless the user press the tab
key.
Based on this article.
npm i outline-none
Somewhere in your client side code:
require("outline-none");
or
import "outline-none";
I made the code ugly just to make it IE8+ compatible. I did not test it with IE8 though.
ISC
Please, feel free to fork and contribute!