SplideJS improve accessibility WCAG

I can not find .splide__toggle__play and .splide__toggle__pause buttons into Bricks code.
We need Play / Pause button into Bricks Builder SplideJS instance if we want create WCAG compliant websites.
This is very important button if someone want use autoplay and make WCAG website compiliant.
W3C suggests that the carousel with autoplay must satisfy following things:

  • Have a button for pausing/resuming autoplay
  • Should pause autoplay when focus comes into the carousel
  • Should pause autoplay while the mouse is hovering over the carousel

A good solution would be to add a pause button switch.

image

https://splidejs.com/guides/accessibility/#autoplay-playpause-wcag-221-222
https://splidejs.com/guides/autoplay/

1 Like