Accessibility layer for Owl Carousel v2.
Written by Geoffrey Roberts
MIT
- Keyboard control (arrow keys)
- Focusable controls & panes
- ARIA attributes for visibility
- jQuery
- Owl Carousel v2
- Adds WAI-ARIA visibility and role hinting attributes
- Adds keyboard navigation (arrow keys for previous/next, enter keys on controls)
- Screen-readable text descriptions
In the <head>
of your page, after you set up your jQuery, Owl Carousel and jquery-throttle-debounce <script>
items, add the following:
<script type="text/javascript" src="owlcarousel2-a11ylayer.js"></script>
Once you've installed the accessibility layer plugin, it gets used automatically when you instantiate Owl Carousel.
Fixed a bunch of nasty bugs, brought up to date with latest OCv2 API.
Initial commit
- Text description of behaviour and changes