agentleFS
ViviBeriViviBeri/webcraft-pro/skills/accessible-motion/SKILL.md

accessible-motion

Skill11 starsChanged 11 days agoMITView on GitHub

Use when auditing or implementing reduced motion, animation accessibility, vestibular safety, focus behavior or motion-sensitive interaction alternatives.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 16 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ensure motion does not prevent people from understanding, navigating or using the interface.

    line 10
  2. Distinctive:

    Check whether animation starts automatically, lasts more than a brief moment or repeats.

    line 17
  3. Distinctive:

    Use the prefers-reduced-motion media feature as the default signal.

    line 19
  4. Distinctive:

    Do not rely on JavaScript alone.

    line 22
  5. Distinctive:

    Remove parallax, large spatial movement, zooming and continuous decorative motion where possible.

    line 24
  6. Distinctive:

    Do not assume a zero-duration version of a complex animation is understandable or safe.

    line 26
  7. Distinctive:

    Keep essential feedback, status and content available without animation.

    line 27
  8. Distinctive:

    Never move focus automatically as part of decorative motion.

    line 29
  9. Distinctive:

    Do not move, resize or obscure focused controls unexpectedly.

    line 30
  10. Distinctive:

    Avoid flashing content and rapid high-contrast changes.

    line 32
  11. Distinctive:

    Keep animated content readable by assistive technology.

    line 33
  12. Distinctive:

    Ensure JavaScript failure does not leave content hidden.

    line 36
  13. Distinctive:

    Keep navigation, forms and controls fully functional when motion is disabled.

    line 37
  14. Distinctive:

    Avoid using motion to communicate the only indication of validation or system state.

    line 38
  15. Distinctive:

    Test keyboard focus through animated and pinned regions.

    line 42
  16. Distinctive:

    Check automatic movement, looping and time-based content against applicable accessibility requirements.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Accessible Motion

Objective

Ensure motion does not prevent people from understanding, navigating or using the interface. Honor user preferences while preserving the information and functionality that motion was meant to communicate.

Workflow

  1. Inventory motion
    • Find autoplay, looping, parallax, zoom, large translations, scroll-linked movement, animated backgrounds and motion triggered by interaction.
    • Identify motion that is essential to understanding a task versus decorative or non-essential.
    • Check whether animation starts automatically, lasts more than a brief moment or repeats.
  2. Honor platform preferences
    • Use the prefers-reduced-motion media feature as the default signal.
    • In CSS, provide a reduced-motion override for non-essential transitions and animations.
    • In GSAP, use gsap.matchMedia() with a reduced-motion condition and build a distinct low-motion or static experience.
    • Do not rely on JavaScript alone; keep a CSS fallback for CSS-driven motion.
  3. Reduce, do not merely accelerate
    • Remove parallax, large spatial movement, zooming and continuous decorative motion where possible.
    • Replace spatial transitions with immediate state changes or restrained opacity changes only when they remain comfortable.
    • Do not assume a zero-duration version of a complex animation is understandable or safe.
    • Keep essential feedback, status and content available without animation.
  4. Respect control and focus
    • Never move focus automatically as part of decorative motion.
    • Do not move, resize or obscure focused controls unexpectedly.
    • Provide pause, stop or hide controls for applicable automatically moving or updating content.
    • Avoid flashing content and rapid high-contrast changes.
    • Keep animated content readable by assistive technology; do not announce every animation frame.
  5. Preserve usable fallbacks
    • Render meaningful content before animation initialization.
    • Ensure JavaScript failure does not leave content hidden.
    • Keep navigation, forms and controls fully functional when motion is disabled.
    • Avoid using motion to communicate the only indication of validation or system state.
  6. Test
    • Enable reduced motion in operating-system/browser settings and reload the page.
    • Change the preference while the page is open and verify setup reverts correctly.
    • Test keyboard focus through animated and pinned regions.
    • Check automatic movement, looping and time-based content against applicable accessibility requirements.
    • Record any remaining motion and why it is necessary.

Implementation notes

A CSS baseline may use the prefers-reduced-motion: reduce media query to disable non-essential animation and transition behavior. Do not blanket-disable all transitions without checking whether the result removes important state feedback.

For GSAP, use one gsap.matchMedia() instance per relevant component or page scope, add the reduced-motion condition, and revert it during teardown. Avoid the deprecated ScrollTrigger.matchMedia() method.

Completion criteria

The reduced-motion preference is respected, essential content and feedback remain available, focus remains stable, automatic movement is controllable where required, and the experience is tested with motion both enabled and reduced.

Automatic movement review

Identify whether motion starts automatically, lasts beyond five seconds, runs in parallel with other content, or updates automatically. Determine whether users need a pause, stop, hide or frequency control under the applicable accessibility requirements. A reduced-motion preference is not a substitute for required controls when content continues moving or updating.

Keep the non-animated state as the default content presentation where practical. Avoid hiding content until JavaScript initializes; when animation is unavailable, the page must not expose an empty region or leave focus on an invisible element. If a preference changes at runtime, revert the old setup before applying the new one.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.