[Bug][a11y]: Coachmark subtle animation should support prefers-reduced-motion media query #3342
Closed
1 task done
Labels
a11y
Issues related to accessibility
bug
Something isn't working
Component: Coach Mark
Spectrum CSS Bug
Spectrum CSS
Code of conduct
Impacted component(s)
Coachmark
Expected behavior
Coachmark elements should not continue to animate when the user has prefers-reduced-motion as an operating system or browser setting.
Additional context:
Actual behavior
Coachmark continues to animate subtly despite the prefers-reduced-motion user preference.
The StoryDecorator contains some code to Reduce motion, but this is based on a
[reduce-motion]
attribute applied to thesp-theme
element rather than respecting theprefers-reduced-motion
media query.spectrum-web-components/projects/story-decorator/src/StoryDecorator.ts
Lines 152 to 154 in 7435e7f
Relevant issue filed with Spectrum-CSS: adobe/spectrum-css#1952
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
Steps to reproduce
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: