Skip to content

[a11y][D11] Smooth scroll ignores reduced-motion preference #22

Description

@BrianGenisio

Finding

D11 — Smooth scroll ignores reduced-motion preference
Severity: minor
WCAG: 2.3.3 Animation from Interactions
Theme: both

Where

components/modal/modal.js — scrollIntoView({ behavior: 'smooth' })

Current behavior

In-modal hash link scrolling always uses smooth behavior.

Expected behavior

Use auto (or skip smooth) when prefers-reduced-motion: reduce.

Suggested approach

Safe to land with D8/D10 modal hygiene PR.

Acceptance criteria

  • Reduced-motion preference disables smooth scroll-into-view
  • Default motion unchanged when preference is not set

Reference

ChatCPT a11y-audits/8-5-26/audit.md → D11
ChatCPT a11y-audits/8-5-26/wave-4-plan.md → Wave 4e

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions