Skip to content

Add prefers-reduced-motion media query to suppress cursor blink - #43

Open
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-40-prefers-reduced-motion
Open

Add prefers-reduced-motion media query to suppress cursor blink#43
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-40-prefers-reduced-motion

Conversation

@claude

@claude claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Fixes #40

What changed

Added a prefers-reduced-motion: reduce media query in demo/index.html that sets animation: none on .cursor when the user has requested reduced motion.

Why

The blinking cursor animation runs indefinitely with no respect for the OS-level "reduce motion" preference. Users with vestibular disorders or motion sensitivity rely on this setting. WCAG 2.3.3 and general best practice recommend suppressing non-essential animations for these users.

How to verify

  • In macOS: System Settings → Accessibility → Display → Reduce Motion
  • In Windows: Settings → Ease of Access → Display → Show animations
    Enable reduced motion, then open demo/index.html — the cursor should be static (no blink). With reduced motion off, the blink animation continues as before.

…tion

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add prefers-reduced-motion media query to suppress cursor blink animation

0 participants