Skip to content

Motion: one global reduced-motion rule for the v1 animations #316

Closed

Description

@wab

Parent

#212 (PRD: website redesign v2, delivery steps J1 to J6)

Context

17 animated files on main ignore the visitor's reduced motion setting, and no global rule covers them. They are the v1 illustrations and heroes: home, method, studio, technology, offer, stories, about. A visitor who asks for less motion still sees floating, bouncing and looping shapes in production.

Most of these files are rewritten in J5, so this ticket does not edit them one by one. One global rule covers them all until then.

Files: about/data-illustration.tsx, home/client-marquee.tsx, home/dashboard-illustration.tsx, home/hero-section.tsx, home/modular-stack-grid.tsx, method/attio-pillars-illustration.tsx, method/hero-section.tsx, method/legacy-bowtie.tsx, offer/architectural-grid.tsx, offer/hero-section.tsx, stories/stories-illustration.tsx, studio/hero-section.tsx, studio/team-member-card.tsx, studio/team-photo-illustration.tsx, technology/hero-section.tsx, technology/partner-card.tsx, technology/partner-form-section.tsx (all under app/components/).

What to build

  • A global style in preset/ that, under prefers-reduced-motion: reduce, stops CSS animations and shortens transitions to an instant.
  • Content that an entrance animation starts at opacity: 0 must still show with the rule on.
  • Components that already handle reduced motion themselves (Reveal, useInView, Tabs, the Revenue AI thesis, the stack diagram, the bow tie) keep their own behaviour.
  • Delete the two keyframes nothing uses: slide and scaleProgress in preset/keyframes.ts.

Acceptance criteria

  • With reduced motion on in the browser, no element loops or floats on home, method, studio, technology, offer, stories and about-us. Checked on the Vercel preview.
  • With reduced motion on, no content stays invisible on those pages.
  • With reduced motion off, nothing changes.
  • slide and scaleProgress are gone from preset/keyframes.ts.
  • pnpm typecheck, pnpm check and pnpm test:run pass.

Blocked by

None. Can start now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentFully specified, AFK-ready for an agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions