You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming here because some people at my organisation complained about other people making animated connections in their diagrams which makes that first group kinda dizzy.
I checked the styles that are generated by d2 and it seems you're adding a css animation properties for path element.
I'd strongly suggest enhancing it with some sort of CSS property that reacts on prefers-reduced-motion query so it's NOT animating at all when it's set to reduced.
I believe this small change would increase accessibility of this wonderful tool.
Hi! I’m starting on this. I’ll trace where animated-connection CSS is generated, add a reduced-motion override without changing the default animation, and include the repository-required regression coverage. I’ll keep the scope to #1979. This work is assisted by OpenAI Codex.
Activity
chsong1 commentedon Jul 14, 2026
Hi! I’m starting on this. I’ll trace where animated-connection CSS is generated, add a reduced-motion override without changing the default animation, and include the repository-required regression coverage. I’ll keep the scope to #1979. This work is assisted by OpenAI Codex.