Skip to content

A simple package to clear away focus outline while making it visible only for keyboard navigation.

License

Notifications You must be signed in to change notification settings

xshapira/focus-handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A simple package to clear away focus outline while making it visible only for keyboard navigation.

Usage

npm i focus-handling

Then, simply add to your index.js the following:

// Import focus-handling
import { focusHandling } from 'focus-handling';

document.addEventListener('DOMContentLoaded', () => {
  focusHandling('outline');
});

About

A simple package to clear away focus outline while making it visible only for keyboard navigation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published