Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patricknelson/jquery-tabhover
Keyboard accessible hover emulation
https://github.com/patricknelson/jquery-tabhover
Last synced: 25 days ago
JSON representation
Keyboard accessible hover emulation
- Host: GitHub
- URL: https://github.com/patricknelson/jquery-tabhover
- Owner: patricknelson
- License: mit
- Created: 2015-10-15T00:26:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-15T00:41:52.000Z (about 9 years ago)
- Last Synced: 2024-05-17T00:19:10.106Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jquery-tabhover
Provide keyboard accessible hover emulation when tabbing through HTML elements.**Example usage (with all options):**
```js
// Emulate hover actions on "li" elements when pressing
// the tab key underneath ".container" elements.
$(".container").tabhover({
// Selector (required). The hover class will be applied mutually exlusively to these
// child elements whenever tab is pressed to enter elements *underneath* these children.
children: "li",
// Optional class to apply to child elements which have received focus.
hoverClass: "hover"
});```