1# Motion
2
3This documents current behavior, not a complete agreed motion language.
4RULES.md still lists broader motion policy as open.
5
6## Shared interaction timing
7
8`--w-duration-fast` covers matching quick control feedback.
9`--w-duration-reveal` covers the existing matching FAQ/slider reveals.
10Do not force other durations into those roles just because they are
11close. Navigation has a separate reveal/visibility timing pair.
12
13Changing a timing must not leave collapsed links focusable, hidden
14content visible, or the visibility delay longer than its collapse.
15Keep a reveal's clip geometry and accessibility behavior intact.
16
17## Reduced motion
18
19Touched control transitions and FAQ/slider/nav reveals suppress motion
20under prefers-reduced-motion without removing their final state.
21Focus, selection and content access remain immediate. Check the open
22and closed states, not just whether a duration became zero.
23
24Glyph Hover disables its trail and automatic preview at runtime when
25reduced motion is requested. It also pauses when hidden, offscreen or
26idle; touch does not require a hover trail.
27
28This pass does not claim every legacy or unrelated animation has been
29audited. Component-specific figure animation and media behavior remain
30owned by their components. Inspect them separately before extending.
31
32## CSS is not an interaction scheduler
33
34Keep JavaScript hover-intent, dismissal timers, autoplay and canvas
35simulation parameters independent of CSS duration tokens. Extracting a
36CSS timing does not justify changing an interaction's logic.
37
38Palette controls remount specimen panes. Any reference measurement or
39listener must clean up when the pane changes. Do not mount all animated
40variants and hide them with CSS.
41
42Related source: docs/glyph-hover.md and docs/primary-nav.md.
43[Glyph Hover](/brand-workshop/system/glyph-hover) ·
44[Primary Nav](/brand-workshop/system/primary-nav).