yatil,
@yatil@yatil.social avatar

I love waiting for stuff that is already loaded.

Safari on the left super responsive, zero delay. Safari Technology Preview on the right, it takes like half a second until the text is in place.

Of course, the transitions also don’t support reduced motion settings, so they are a great additional way to make your users feel sick. There are no website settings to turn them off.

(CW: Video and video in the linked post are potentially vestibular triggers.) https://front-end.social/@bramus/112252063739648992

Video is split screen, klicking on content on the left reveals it without delay. On the right, an animation is triggered that takes about half a second. You just need to wait until the animation is settled to interact with it. And it is a full-page animation, so easily a vestibular trigger.

mikemai2awesome,
@mikemai2awesome@mastodon.social avatar

@yatil css could have easily been added for reduced motion, the demo could have been better. I do welcome the view transition, animation does help in certain cases (not everywhere), and killing JS dependency is going to improve overall performance.

yatil,
@yatil@yatil.social avatar

@mikemai2awesome I think the demo perfectly encapsulates how important people think reduced motion is and how often they use it. (Almost never.)

And I’m OK with motion but not with full screen transitions. That should be a no-go.

mikemai2awesome,
@mikemai2awesome@mastodon.social avatar

@yatil It doesn’t help that most people think reduce motion is level AAA, and clients only ask for AA. Unless i am wrong but i believe reduce motion is AA, making a custom control to turn animation on/off is AAA. So i always push for full reduce motion support. Just released a site this week with that.

yatil,
@yatil@yatil.social avatar

@mikemai2awesome 2.2.2 Pause, Stop, Hide is indeed Level A.

https://www.w3.org/TR/WCAG/#pause-stop-hide

mikemai2awesome,
@mikemai2awesome@mastodon.social avatar

@yatil yeah, that’s what i go by but some people argue for 2.3.3

mikemai2awesome,
@mikemai2awesome@mastodon.social avatar

@yatil ok maybe i am wrong after reading this again.

Providing a mechanism to pause autoplay/auto-update is level A.

Stopping animations in general is level AAA.

This doesn’t make sense to me. Motion is motion, regardless if it autoplays or requires click/scroll to trigger. Why is the second one AAA. 🙃

yatil,
@yatil@yatil.social avatar

@mikemai2awesome The argument is that the 2.3.3 is not concurrent to other content and not ongoing. It makes some sense. Also reduced motion wasn’t a thing when this was created, so implementing it was much harder which also decides the level.

mikemai2awesome,
@mikemai2awesome@mastodon.social avatar

@yatil so in the bramus demo, that still passes AA because it triggers on click not autoplays?

yatil,
@yatil@yatil.social avatar
yatil,
@yatil@yatil.social avatar

And I’m sorry that I’m so negative about all this, but I see how people use these technologies and then cause harm with them. Like, my job is 80% preventing people from doing accidental harm. I don’t need more of that.

marcus,
@marcus@mastodon.social avatar

@yatil Not coupling these transitions with prefers-reduced-motion: reduce is nearly criminal, and I hope this will get resolved when it ships @webkit @firefox @developers

yatil,
@yatil@yatil.social avatar

@marcus People don’t care about reduced motion today. View transitions will not change that. But they will make your content flashy in a new way, so it will be used everywhere!

marcus,
@marcus@mastodon.social avatar

@yatil At least prefer reduced motion, built-in and without explicit need to handle it (because, as you rightly say, no one cares), would prevent the worst and serve as an off-switch

yatil,
@yatil@yatil.social avatar

@marcus Yeah, the problem is how would a browser know what to do with the animation. Like what are the two stages to toggle between. It’s hard to automate. Maybe it’s better/possible with view transitions?

@vlh talked about this in An Event Apart in 2018 (but unfortunately the video is gone): https://aneventapart.com/news/post/building-more-expressive-products-by-val-head-aea-video

marcus,
@marcus@mastodon.social avatar

@yatil I actually just meant for view transitions, see it as a rather low hanging fruit, thus got a little bit angry

marcus,
@marcus@mastodon.social avatar

@yatil Rage Against The Engine(s) so to say 😅

cwilcox808,
@cwilcox808@c.im avatar

@marcus @yatil
When View Transitions between page requests are possible, I imagine it would be relatively straightforward for browsers to completely ignore view transition CSS rules when "reduce motion" is enabled. The browser could either act as if it doesn't support View Transitions at all or a transition could still occur but with the user agent defaults (I forget how quick it is by default but there's no motion, it's a fade).

cwilcox808,
@cwilcox808@c.im avatar

@marcus @yatil
Maybe the same could be done with current SPA View Transitions, I don't know if there could ever be losses to functionality or understanding if the authored transition is absent. I don't think they can be as complex as regular CSS animations.

Avoiding the need for authors to use prefers-reduced-motion would help.

yatil,
@yatil@yatil.social avatar

@cwilcox808 @marcus I haven’t looked that closely yet. I’m just exhausted that user preferences for these features are not part of the process. It should be.

marcus,
@marcus@mastodon.social avatar

@yatil Other than that, I second Eric's second comment. Browser vendors, please don't add another feature to cause avoidable harm because of fancyness and "move fast and break things" attitudes

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • ethstaker
  • JUstTest
  • GTA5RPClips
  • modclub
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • anitta
  • megavids
  • provamag3
  • lostlight
  • All magazines