#1167: WG New Spec: Scroll-Triggered Animations
Discussions
Log in to see TAG-private discussions.
Comment by @jyasskin Nov 19, 2025 (See Github)
We have a week before the Blink folks will approve this Intent to Ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/TZLFLjzt4II/m/nzUrqB4CAwAJ
Discussed
Dec 1, 2025 (See Github)
Matthew and Serena: not yet
Jeffrey: this was approved by blinkdev to ship last week. There is still time for the working group to suggest changes, and then for the folks to make changes.
Lola: can we get to it soon, or should we reassign?
Matthew: I'll look at it tomorrow.
Serena: I'll have time this week.
Discussed
Dec 15, 2025 (See Github)
Matthew to post the comment.
Comment by @matatk Dec 17, 2025 (See Github)
Hi @DavMila, thanks for your review request.
We appreciate this is an increasingly used pattern, and it's important to help authors to get it right. On those lines, we have several concerns:
-
The robustness of this pattern on sites in general - e.g. when afforded by scripting - can be poor. For example: triggers firing the wrong number of times; things going wrong if the user scrolls back. Have you considered how these issues may be resolved through standardization?
-
Historically, all page content was loaded in and was available to ATs - it might just be off screen, but could be explored. If content is loaded dynamically in response to scrolling, this could exclude some users. (It doesn't seem like that's inherent here, but it seems like a pattern that may more prominently emerge following this.)
-
Scrolling and animation can cause huge cognitive issues (e.g. distracting, disorienting). We have
prefers-reduced-motionbut we're not sure how much consideration has been given to providing guidance for authors on how to ensure an equitable UX - especially in cases of complex animations revealing - or even themselves acting as - content. -
Does this interact with/affect the focus in any way?
There seems to be justification for an 'accessibility considerations' section, assuming ways to address these concerns are known, or could be found. APA WG would be happy to help by reviewing any content you might create for such a section.
We look forward to hearing your thoughts on the above.
Discussed
Jan 5, 2026 (See Github)
(Skipped.)
Discussed
Jan 12, 2026 (See Github)
Matthew: It looks like we’re waiting for input from them. We’ve been talking in APA and the Cognitive Accessibility …, they have additional considerations. We could put them on this thread or in the repo. Can point them out once it’s fully reviewed.
Discussed
Jan 19, 2026 (See Github)
Matthew: APA is working with cognitive accessibility tf, if anything comes up with cognitive accessibility we can bring it to this thread but for now we're waiting for external feedback from them.
Discussed
Jan 26, 2026 (See Github)
Matthew: Same as last week: APA and my feedback will be coming soon.
Discussed
Feb 2, 2026 (See Github)
Matthew: I think we posted on this yesterday. Think we’ll just say, I haven’t seen anything architectural, except for being very clear about the implications of using it. Makes it easier to build inaccessible, exclusive experiences. Takes things off the main thread, which we are usually happy about. I don’t think we need to add anything specific to the TAG response. Still working on the proposal with APA, but will send it separately, but that would go to the A11y section. Not to "stop it completely." Just waiting for an answer from them, and APA can file the issue separately.
Lola: Think I disagree with the "we shouldn’t say stop it," I think we should. But we can wait for them to come back before coming to a resolution.
Matthew: It’s labelled "pending external feedback." Shall I ping them?
Lola: You can do that.
Comment by @matatk Feb 5, 2026 (See Github)
Hi @DavMila, just wondering if you had any thoughts in response to our comment above?
Comment by @DavMila Feb 5, 2026 (See Github)
Hi @DavMila, just wondering if you had any thoughts in response to our comment above?
Hi @matatk, we discussed this shortly after your comment but I apologize for taking so long in getting back to this.
- The robustness of this pattern on sites in general - e.g. when afforded by scripting - can be poor. For example: triggers firing the wrong number of times; things going wrong if the user scrolls back. Have you considered how these issues may be resolved through standardization?
One of the choices we made was to leverage scroll timelines which were introduced along with scroll-driven animations. Timelines, via the ranges API, offer developers a robust way of referring to portions of a scroll container. To use the “user scrolls back” case mentioned as an example, timeline triggers are designed to allow authors specify two ranges - this means that for a given side of the scroll port, authors can separate the boundary at which scrolling forward fires the animation from the boundary at which scrolling backwards does. One of the use cases we prioritized simplifying was being able to specify the ranges as contain / cover which provides a separation of the trigger points so that on one end of the scroll port triggering only happens when the element comes fully into view or goes fully out of view.
We believe that this boundary separation, together with semantically connected “entry” and “exit” concepts (i.e. entry and exit must alternate) are likely to foster the development of UIs that are predictable and user-friendly.
- Historically, all page content was loaded in and was available to ATs - it might just be off screen, but could be explored. If content is loaded dynamically in response to scrolling, this could exclude some users. (It doesn't seem like that's inherent here, but it seems like a pattern that may more prominently emerge following this.)
I think our expectation is that use of this feature will apply to elements coming in and out of the viewport/scrollport, which are typically elements that are already loaded into the DOM.
- Scrolling and animation can cause huge cognitive issues (e.g. distracting, disorienting). We have
prefers-reduced-motionbut we're not sure how much consideration has been given to providing guidance for authors on how to ensure an equitable UX - especially in cases of complex animations revealing - or even themselves acting as - content.
We recognize that this is an important issue to consider and we think that this is something that developers should be considering in the context of animations in general. To this end, we noticed that the css-animation spec doesn’t have an accessibility section similar to the css-transitions spec. So, we are working on adding an accessibility section with a strong recommendation on prefers-reduced-motion. I think that one potential advantage of declarative scroll-triggered animations is the ability for the user agent to make modifications to the animations on a page according to the user’s needs. It might be more difficult for a user agent to do this with scripted scroll-triggered animations.
- Does this interact with/affect the focus in any way?
No, it doesn’t directly affect focus. In theory, it would be possible for an author to set up an animation that affects other CSS properties that, in turn, interact with focus , e.g. display. However, that’s true of animations today.
Discussed
Feb 9, 2026 (See Github)
Matthew: Looks positive b/c they work on an a11y section which we can have a look at APA. Was thinking about the robustness section, want to be the behavior more robust. Looks like they’ve considered that with scroll timelines, ranges API. Looks very promising, would respond with a positive comment.
OpenedNov 10, 2025
Specification
https://drafts.csswg.org/css-animations-2/#timeline-triggers
Explainer
https://github.com/explainers-by-googlers/scroll-triggered-animations/blob/main/README.md
Links
The specification
Where and by whom is the work is being done?
Feedback so far
You should also know that...
There is also a Web Animations component to this proposal but only the CSS Animations spec is up to date. We plan to update the Web Animations spec after the CSSAnimations spec has been reviewed in #13010. We expect the web animations API to reflect the css animations API.
<!-- Content below this is maintained by @w3c-tag-bot -->Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1167