Skip to content

feat(a11y): axe-core test harness for the Button primitives - #370

Merged
krisarmstrong merged 1 commit into
mainfrom
ci/a11y-tooltips-foundation
May 29, 2026
Merged

feat(a11y): axe-core test harness for the Button primitives#370
krisarmstrong merged 1 commit into
mainfrom
ci/a11y-tooltips-foundation

Conversation

@krisarmstrong

Copy link
Copy Markdown
Collaborator

Mirrors the seed harness (each repo owns its own copy — no master). Adds
axe-core (4.11.4) and ui/src/test/a11y.ts (runAxe + expectNoAxeViolations)
so components can be paired with an a11y test that catches button-name,
image-alt, label, and other WCAG rules no static lint detects.

Button.a11y.test.tsx exercises every Button + IconButton variant and tone
(29 renders) against axe-core. The wider stem icon-button surface was
audited and found to already carry aria-label where needed (Sidebar
mobile-overlay, CommandPalette scrim, etc.); the conversion sweep the
plan anticipated isn't required. Establishes the gate for future
regressions.

Mirrors the seed harness (each repo owns its own copy — no master). Adds
axe-core (4.11.4) and ui/src/test/a11y.ts (runAxe + expectNoAxeViolations)
so components can be paired with an a11y test that catches button-name,
image-alt, label, and other WCAG rules no static lint detects.

Button.a11y.test.tsx exercises every Button + IconButton variant and tone
(29 renders) against axe-core. The wider stem icon-button surface was
audited and found to already carry aria-label where needed (Sidebar
mobile-overlay, CommandPalette scrim, etc.); the conversion sweep the
plan anticipated isn't required. Establishes the gate for future
regressions.
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@github-actions

Copy link
Copy Markdown
Contributor

License Compliance Report

All dependencies pass license compliance checks

Go Dependencies

  • Unknown: 31 package(s)
  • MIT: 26 package(s)
  • BSD-3-Clause: 16 package(s)
  • Apache-2.0: 11 package(s)
  • BSD-2-Clause: 1 package(s)

npm Dependencies

See full report in workflow artifacts

Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0
Forbidden: GPL, AGPL, SSPL (strong copyleft)

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