Skip to content

fix(a11y): valid listbox in the artist search and readable pressed toggles - #4

Merged
T04435 merged 4 commits into
mainfrom
fix/a11y-research-ask
Oct 21, 2026
Merged

T04435 merged 4 commits into
mainfrom
fix/a11y-research-ask

Conversation

@T04435

@T04435 T04435 commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Fixes two accessibility issues that the per-width axe tests in #3 exposed in the Repertoire research's waiting step. Stacked on #3 (base test/width-split); retarget to main once #3 merges.

What changes

  • Artist search listbox (ArtistPicker): the status/alert lines and the note no longer sit inside cmdk's role=listbox; they render beside it. The listbox renders only while it has options and aria-expanded follows it, so aria-controls never points at an empty list. Fixes axe aria-required-children. Keyboard behaviour unchanged.
  • Pressed toggle hover contrast: hovering darkened the orange towards the dark label. A new --primary-hover token (primary mixed 12% toward white) is used by the default and poster button variants. Label contrast on hover: 6.19:1 light, 7.26:1 dark (was below AA on hover).
  • Tests: the "pause as a selection" width tests run axe with the artist list open and with a selected genre hovered; the Escape/mouse-move workaround is removed.

Local checks before this push

  • lint 0 errors · typecheck clean · test:coverage 1128/1128, thresholds met · check:fixtures passed
  • full offline e2e with --workers=2: 710 passed, 0 failed, 0 flaky, 208 skipped

🤖 Generated with Claude Code

T04435 and others added 4 commits October 22, 2026 03:12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each width is its own test (shared WIDTHS in layout-helpers), skipped outside the desktop project; drops test.slow() and the CI-only workers line. Longer waits on the examples map and the on-top check, which timed out under load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ggles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
busk-map Ready Ready Preview Oct 21, 2026 10:30pm UTC

Request Review

@T04435
T04435 changed the base branch from test/width-split to main October 21, 2026 22:37
@T04435
T04435 merged commit a9a1d3e into main Oct 21, 2026
9 checks passed
@T04435
T04435 deleted the fix/a11y-research-ask branch October 23, 2026 14:41

This branch was successfully deployed

1 active deployment
Preview — 29b166e4 Deployed Oct 21, 2026 by vercel[bot]
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