Slideshow block: slider doesn't auto-advance on Win 10 computers with animations disabled #14523
Labels
[Block] Slideshow
[Focus] Accessibility
Improving usability for all users (a11y)
[Status] Wontfix
[Type] Bug
When a feature is broken and / or not performing as intended
Steps to reproduce the issue
What I expected
For the slider to advance automatically.
What happened instead
The slider doesn't advance, and can only be advanced using the arrow buttons, or the controls below the slider.
Upon toggling the Show animations setting to on and refreshing the page, the slider auto-advances normally.
Reported by users in https://wordpress.org/support/topic/jetpack-slideshow-not-advancing/ and https://wordpress.org/support/topic/slideshow-block-autoplay/
The user in the second thread managed to track the issue down to the line:
.matchMedia("(prefers-reduced-motion: reduce)")
Modifing that line as follows allow the slider to work:
.matchMedia("(prefers-reduced-motion: no-preference)")
Was this added to the block with the intent of respecting this Windows setting in this way, or is this something we might be able to fix?
I found one issue mentioning
.matchMedia
, #8309, where it was added to improve accessibility regarding the now-deprecated holiday snow feature, so adding the accessibility tag here as well.The text was updated successfully, but these errors were encountered: