1.0.0 • Published 6 years ago
outline-none v1.0.0

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