Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
🍫 ⌨️ enhanced keyboard tabbing usability on any website / webapp with one line of code.
License
fabiocaccamo/tabbo.js
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
🍫 ⌨️ enhanced keyboard tabbing usability on any website / webapp with one line of code.
- Vanilla JS / Zero dependencies
- Preserved default
tabindexbehaviour - Tabbing enabled on the following elements:
'a','button','input','select','summary','textarea','[tabindex]'(any element withtabindexattribute) - Tabbing disabled on all elements that aredisabled(impossible to interact with) orinvisible(hidden or without width/height)
- Tabbing disabled on all elements that are children/descendants of elements with tabbing disabled
- Tabbing trapped inside modal elements(any element with
aria-modal="true"attribute that is enabled and visible) - Reversed tabbing order when
Shiftkey is pressed - Looped tabbing when reaching the last focusable element
- Checkboxes can be checked/unchecked using
Enterkey
This library is available throughnpm:
npm install @fabiocaccamo/tabbo.js
<scriptsrc=" https://cdn.jsdelivr.net/npm/@fabiocaccamo/tabbo.js/dist/tabbo.min.js"></script>
<scriptsrc="node_modules/@fabiocaccamo/tabbo.js/dist/tabbo.min.js"></script>
consttabbo=require("@fabiocaccamo/tabbo.js");
Theonly thing you have to do is activatetabbo as soon as possible:
tabbo.activate();
If needed, you can deactivatetabbo at any time:
tabbo.deactivate();
git clone https://github.com/fabiocaccamo/tabbo.js.gitnpm install
npm run watch
npm run build
Refer toSECURITY.md
Released underMIT License.
About
🍫 ⌨️ enhanced keyboard tabbing usability on any website / webapp with one line of code.
Topics
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.