Removes CSS outlines in an accessible manner
Go to file
2018-09-28 10:19:17 +10:00
index.html Initial implementation 2012-04-23 22:11:22 +10:00
LICENSE Implements #2 2018-02-01 09:01:51 +11:00
outline.js Bumping version number 2018-02-01 09:04:58 +11:00
package.json Bumping version number for v1.2.1 release 2018-09-28 10:19:07 +10:00
README.md Initial NPM release: 2018-09-28 09:44:39 +10:00

remove-focus-outline

Formerly outline.js

Removes CSS outlines in an accessible manner

Based on http://www.paciellogroup.com/blog/2012/04/how-to-remove-css-outlines-in-an-accessible-manner/

🆕 I'm working busily on version 2 of remove-focus-outline - pop on over to the project page to see what's happening, or take a look at the develop branch.

Installation

npm install remove-focus-outline

Or if Yarn is your thing:

yarn add remove-focus-outline

Usage

ES6 - TypeScript, Babel, etc.

import 'remove-focus-outline';

CommonJS - RequireJS etc.

require('remove-focus-outline');

HTML <script>:

<script src="node_modules/remove-focus-outline/outline.js"></script>