Restricts keyboard tabindex to a single subtree in the DOM. This behaviour is useful when implementing a modal UI
-
Updated
Mar 11, 2020 - JavaScript
Restricts keyboard tabindex to a single subtree in the DOM. This behaviour is useful when implementing a modal UI
⭐ Awesome A11Y Book & Course with interactive CodeSandboxes. Learn A11Y online with pleasure.
Keyboard trap for modals and other components
A library to help trap the focus of keyboard inside an element.
Accessible website
Add a description, image, and links to the keyboard-trap topic page so that developers can more easily learn about it.
To associate your repository with the keyboard-trap topic, visit your repo's landing page and select "manage topics."