Skip to content

stephan-fischer/owl-aria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Owl-Aria

An Owl Carousel v2 accessibility layer

Authorship

Written by Stephan Fischer

License

Commercial license

If you want to use owl-aria to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. [Purchase an Owl-Aria Commercial 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:

<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.