Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#GSAP

Advanced AI Prompt for GSAP Accessibility-First Motion

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-accessible-reduced-motion-logic.txt
Act as an Elite Web Accessibility (a11y) Engineer. Write a bulletproof GSAP ScrollTrigger wrapper architecture that interrogates the operating system's `prefers-reduced-motion` media query before ever initializing a timeline. If the user's OS is flagged for reduced motion, you must programmatically intercept and destroy the aggressive [ANIMATION_TIMELINE] intended for the [TARGET_SECTION] (which contains heavy 3D parallax, violent scaling, or rapid translations). Instantly replace that timeline with a completely safe, vestibular-friendly [FALLBACK_OPACITY] simple cross-fade tween. Ensure the logic utilizes `gsap.matchMedia()` so that if the user toggles their OS settings mid-session, the GSAP engine dynamically kills the heavy animations and mounts the safe fallbacks without requiring a hard browser refresh, achieving absolute WCAG 2.1 AAA compliance.

Example Text Output

"The AI generates a conditional GSAP logic block using window.matchMedia('(prefers-reduced-motion: reduce)') to toggle between animation intensities."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for GSAP Accessibility-First Motion" prompt used for?

The AI generates a conditional GSAP logic block using window.matchMedia('(prefers-reduced-motion: reduce)') to toggle between animation intensities.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.