- 🇮🇩Indonesia gausarts
3.x is out.
Any betterment should start here and may or may not be backported later.
Thank you.
Currently we are getting more requests that our sites need to comply with WCAG criteria and one of the most problematic features seems to be the sliders.
I noticed that there is an drop in replacement for Slick which has much better support for accessibility at https://github.com/Accessible360/accessible-slick.
The default Slick version seems to be last updated in 1.8.1 and the drop in replacement seems to be in active development.
I tested replacing the original Slick library in the module by installing the Accessible Slick to the same location and then adjusting the library paths like so:
js:
/libraries/slick/slick/slick.min.js: { weight: -3, minified: true }
css:
base:
/libraries/slick/slick/slick.min.css: {}
/libraries/slick/slick/accessible-slick-theme.min.css: {}
This gave me 99% the same look as the original slider except for small color changes and the new pause button which needs positioning. Took me around ~2 hours to implement.
Could we add this as an option to the module?
I would suggest that we add the accessible version of Slick as a separate library to the module and when the Accessibility option is checked in the module settings it would load the different library JS files and also add the needed theme files or the accessible skin could be also added as an option to the module which you could select instead of the default one.
slick.load.js
as well.focusOnSelect
option which triggers advancing slides here.Needs work
3.0
Accessible Slick
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
3.x is out.
Any betterment should start here and may or may not be backported later.
Thank you.