Skip to content

Render practice rating hints as visible button subtext (#6000) - #6084

Merged
atomantic merged 2 commits into
mainfrom
claim/issue-6000
Sep 3, 2026
Merged

Render practice rating hints as visible button subtext (#6000)#6084
atomantic merged 2 commits into
mainfrom
claim/issue-6000

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

Practice rating explanations in PracticeLogger were hover-only (title attribute), invisible on touch devices. Each rating button now renders its action hint as visible subtext beneath the label, in a 2x2 grid on phones (4-up on sm+) with >= 48px touch targets. The redundant title tooltip was removed since the hint is always visible (avoids double-announcement in screen readers). Button accessible names now include both label and hint.

Closes #6000

Test plan

  • npx vitest run src/components/songbook/PracticeLogger.test.jsx — 7 passed, including new test asserting all four hints render visibly.
  • npx vitest run src/components/songbook/ (full songbook dir) — 131 passed across 9 files.
  • npx vitest run src/responsiveGridConventions.test.js src/popoverClampConventions.test.js — passed (grid uses grid-cols-2 sm:grid-cols-4, phone-first with breakpoint).
  • Local reviewer (mtplx, low effort): 1 finding (redundant title) — addressed, re-tested.

@atomantic
atomantic merged commit 4269166 into main Sep 3, 2026
7 checks passed
@atomantic
atomantic deleted the claim/issue-6000 branch September 3, 2026 18:54
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.

Practice rating explanations in PracticeLogger are hover-only and inaccessible on touch devices

1 participant