-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(navigation): remove focus if button is not available
- Loading branch information
1 parent
91bc3bf
commit 1b8af17
Showing
5 changed files
with
79 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,36 @@ | ||
# owl-aria | ||
# Owl-Aria | ||
An Owl Carousel v2 accessibility layer | ||
|
||
## Authorship | ||
|
||
Written by [Stephan Fischer](mailto:[email protected]) | ||
|
||
## License | ||
|
||
### Commercial license | ||
|
||
If you want to use owl-arai to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. | ||
If you want to use owl-aria to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. | ||
|
||
## Requirements | ||
|
||
* jQuery | ||
* Owl Carousel v2 | ||
|
||
## Installation | ||
|
||
In the `<head>` of your page, after you set up your jQuery, Owl Carousel and jquery-throttle-debounce `<script>` items, add the following: | ||
|
||
```html | ||
<script type="text/javascript" src="owl.carousel.aria.min.js"></script> | ||
``` | ||
|
||
## Features | ||
|
||
* Adds WAI-ARIA visibility and role hinting attributes | ||
* Adds keyboard navigation (arrow keys for previous/next, enter keys on controls) | ||
* Controls the focus of each element within the carousel, for a correct tabindex sequence | ||
* Works with nested carousels | ||
|
||
## Usage | ||
|
||
Once you've installed the accessibility layer plugin, it gets used automatically when you instantiate Owl Carousel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters