Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[self-care:accessibility-checker] Keep landing workflow ecosystem paused under reduced motion - #22172

Draft
mnkiefer wants to merge 1 commit into
mainfrom
self-care/a11y-workflow-ecosystem-reduced-motion-1335e8d4edeb4b5f
Draft

mnkiefer wants to merge 1 commit into
mainfrom
self-care/a11y-workflow-ecosystem-reduced-motion-1335e8d4edeb4b5f

Conversation

@mnkiefer

@mnkiefer mnkiefer commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Under prefers-reduced-motion: reduce, the landing page workflow ecosystem kept running its SMIL route animation and hid its Pause control, so reduced-motion users had no way to stop it. This change starts the animation paused in that case and keeps a Resume control visible, following the catalog dispatch illustration fix in #22163. Only the landing page is affected.

Action: Maintainer reviews this draft, confirms the landing page at /gh-cao/ opens paused under reduced motion with a visible Resume animation control, then marks it ready to merge.

Critical findings

  • Serious, WCAG 2.2.2 Pause, Stop, Hide (Level A, within AA): under reduced motion, the landing page ecosystem animation kept advancing (0.4 s to 1.4 s within one second) and its Pause control was display: none. Fixed in this PR.
  • No other barrier was reproduced on the five audited pages.
Audit coverage and evidence

Pages audited in light and dark schemes at 1280x800 unless noted: /gh-cao/, /gh-cao/getting-started/, /gh-cao/cao-cli/, /gh-cao/architecture-at-a-glance/, /gh-cao/activity/.

  • axe-core 4.13.0 from the bundled local file, WCAG 2.0/2.1/2.2 A and AA tags: 0 violations on all 10 page and scheme combinations, before and after the fix.
  • Before, landing page under reduced motion: route animation clock moved from 0.4 s to 1.4 s, animationsPaused() was false, and the toggle was display: none.
  • After, same state: clock stays at 0 s over one second, the toggle reads Resume animation and is visible at 57x24 px, and Enter on the focused control resumes the animation.
  • After, default motion: the animation runs, and Pause and Resume toggle it.
  • Focus ring on the restored control: 3.06:1 in light and 10.8:1 in dark against the adjacent background (3:1 required).
  • Keyboard: 40 Tab presses per sampled page without a trap; the skip link moves focus to the page h1.
  • Structure and names on sampled pages: one h1, no skipped heading levels, and no unnamed links, buttons, images, or SVGs.
  • Reflow at 320 CSS px on the landing page: no document horizontal overflow, and the restored control stays inside the viewport.

Remaining gaps, not resolved here:

  • axe color-contrast returned incomplete results for 348 light and 189 dark landing-page nodes over gradient and pseudo-element backgrounds. These were not measured. Opaque-background text sampled on other pages met 4.5:1.
  • axe aria-valid-attr-value returned an incomplete result for the slideshow trigger (aria-controls pointing to landing-slideshow). Not resolved.
  • The table on /gh-cao/cao-cli/ at 320 px scrolls inside its own container (overflow: auto) and is not clipped, so it is not a finding.

Validation:

  • git diff --check: pass.
  • npm run docs:build: pass (83 pages built; agent documentation checks 5 of 5).
  • Rebuilt site served on loopback and re-audited as listed above.

Source: workflow run

cao: githubnext/gh-cao, correlation: 47070424245-5341

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

Generated by ♿ SelfCare / Accessibility · pi · routed: haiku55 xhigh · ~17 AIC · ⌖ ~2 AIC · ⊞ 10.3K · history

The landing page workflow ecosystem route animation is SMIL, which ignores the CSS reduced-motion rule. Start it paused under prefers-reduced-motion: reduce and keep the Pause or Resume control visible.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant