Accessible360 / accessible-slick

the last (accessible) carousel you'll ever need.
https://accessible360.github.io/accessible-slick
MIT License
254 stars 45 forks source link

Aria-labels injected by the new version sometimes show as undefined in the markup #66

Open pratikbassi opened 2 years ago

pratikbassi commented 2 years ago

Issue reported by user, to be investigated and fixed for next minor release

rianfloo commented 2 years ago

Hi, @pratikbassi

Allow me to suggest you a new improvement for slick accessible. Accessibility in France is regulated with norm RGAA. You have to be able to focus first slide (in case of multiple slides displayed) when you click on the first previous dot (Example: 1st) from the current selected (2). And when you click on the third (3) you have to show the last current slide. It would be nice to have that native behavior. Atm, when I try to create that behavior in supercharging the library with custom JS. But it is not working well because of slick duplicate slides. When you make an infinite one, it does not apply focus on good elements when I loop on indexes.

I don't know if I am clear but feel free to ask me if you need more info :)

Florian