Skip to content

A fork of lindsayevans/outline.js, but supporting focus outlines added by box-shadow and also removing outlines produced by a focus-within state

License

Notifications You must be signed in to change notification settings

ctidigital/outline.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

A fork of lindsayevans/outline.js, but supporting focus outlines added by box-shadow and also removing outlines produced by a focus-within state

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.2%
  • HTML 13.8%