Re: [csswg-drafts] [css-view-transitions] Users need to be able to disable view transitions (#10267)

> I don't like the idea of complete animation suppression for view transitions only. It should be done at a lower layer, for CSS transitions, CSS animations and web animations. So it applies to all animations and not just the ones associated with a view transition.

Yeah, that has been thought about. Some users do set `transition-duration: 0 !important` in user stylesheets in order to prevent transitions, same with `animation: none !important` or so.

Firefox disables `<marquee>` animations when `prefers-reduced-motion` matches, fwiw, so there is _some_ precedent. In general I think there's some tension here: Sometimes `prefers-reduced-motion` is just that, a preference, but sometimes it is an accessibility need...

Seems fine to change the UA CSS so that default transitions do the right thing, but yeah I agree we should generally try to come up with a reasonable stance on `prefers-reduced-motion`, and make it affect all CSS transitions / animations equally. I think @flackr had talked about something like that not that long ago?

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10267#issuecomment-2360299113 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 19 September 2024 08:16:38 UTC