Skip to content

feat(ui): a11y pass — prefers-reduced-motion + axe test - #12

Merged
tomymaritano merged 1 commit into
mainfrom
feat/ui-a11y
Jun 15, 2026
Merged

feat(ui): a11y pass — prefers-reduced-motion + axe test#12
tomymaritano merged 1 commit into
mainfrom
feat/ui-a11y

Conversation

@tomymaritano

Copy link
Copy Markdown
Owner

First chunk of the robustness batch (#2).

  • CairnSpotlight respects prefers-reduced-motion (drops the transition); exports a usePrefersReducedMotion() hook.
  • Automated axe-core test asserting the active tour (popover + spotlight) has zero accessibility violations. It confirmed our component is already accessible (role=dialog, focus trap/return, Escape, aria-label) — only Floating UI's inert focus-guard sentinels and page-structure rules tripped it, both correctly excluded as non-applicable to a widget.

Changeset: cairn-ui minor. 87 tests green across 7 packages.

🤖 Generated with Claude Code

- CairnSpotlight respects prefers-reduced-motion (no transition); export a
  usePrefersReducedMotion() hook.
- Add an axe-core test asserting the active tour (popover + spotlight) has no
  a11y violations — confirms role=dialog/focus/labels are correct (Floating UI
  focus-guard sentinels and page-structure rules excluded as non-applicable).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cairn-docs-site Ready Ready Preview, Comment Jun 15, 2026 9:12pm

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sonarqubecloud

Copy link
Copy Markdown

@tomymaritano
tomymaritano merged commit 902692c into main Jun 15, 2026
6 checks passed
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.

1 participant