the 25th of March, 2019

Some updates for carousel script

Dean Hamack from Paciello Group suggested me to have an option to disable arrows for speech synthesis/keyboard users (which transforms the carousel into tabs basically), and to change the value of the tabindex that is set up to headings in carrousel contents (from 0 to -1).

The attribute data-carousel-hide-arrows-focus will make next/previous buttons not focusable for keyboard users and not visible for speech synthesis. The second demo of accessible carousel shows it.

In addition to this, the tabindex values have been updated for headings in carousel content, as recommended.

This fix has been published on Github/NPM (See Github repositery of Van11y carousel script). Documentation of the accessible carousel has also been updated.

A big thanks to Dean Hamack from Paciello Group for the suggestions!