fix(webapp): pack labels and two accessibility findings (#1302) #1306

Merged
claude-bot merged 3 commits from fix/1302-packs-polish into main 2026-11-02 05:40:59 +00:00
Collaborator

Closes #1302. These came from the #1241 render check and were already on main.

  • "9 ancestries", not "ancestrys": plural() now handles consonant + y. "day" stays "days".
  • A pack's version gets a "v" only when it's a bare number. "pf2e-8.6.1" no longer reads "vpf2e-8.6.1".
  • The licence's terms link is underlined (.textlink), instead of being told apart by colour alone (axe link-in-text-block).
  • The app bar's home link is named by its own text plus a hidden ", home", instead of aria-label="Quest Board, home". On a phone it shows "QB", and its name ("QB, home") now contains that (axe label-content-name-mismatch, WCAG 2.5.3). On a desktop it's still "Quest Board, home". jsdom drops the space inside "uest ", so the three tests that find the link by name accept both spellings, and a comment says why.
  • A changelog fragment.

Checked on docker-test:

  • frontend lint: 0 errors;
  • vitest over src/pages/admin, src/ui/AppBar, src/shell, the new contentPacksShared.test.jsx and the two other plural() callers: 29 files, 418 passed, 1 skipped;
  • the changelog check passes.

No new wording. Every visible string is either a correction of an existing one or unchanged.

🤖 Generated with Claude Code

Closes #1302. These came from the #1241 render check and were already on main. - **"9 ancestries", not "ancestrys":** `plural()` now handles consonant + y. "day" stays "days". - **A pack's version** gets a "v" only when it's a bare number. "pf2e-8.6.1" no longer reads "vpf2e-8.6.1". - **The licence's terms link** is underlined (`.textlink`), instead of being told apart by colour alone (axe `link-in-text-block`). - **The app bar's home link** is named by its own text plus a hidden ", home", instead of `aria-label="Quest Board, home"`. On a phone it shows "QB", and its name ("QB, home") now contains that (axe `label-content-name-mismatch`, WCAG 2.5.3). On a desktop it's still "Quest Board, home". jsdom drops the space inside "uest ", so the three tests that find the link by name accept both spellings, and a comment says why. - A changelog fragment. **Checked on docker-test:** - frontend lint: 0 errors; - vitest over `src/pages/admin`, `src/ui/AppBar`, `src/shell`, the new `contentPacksShared.test.jsx` and the two other `plural()` callers: 29 files, 418 passed, 1 skipped; - the changelog check passes. No new wording. Every visible string is either a correction of an existing one or unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- "9 ancestries", not "ancestrys": plural() handles consonant + y.
- A pack's version gets a v only when it is a bare number, so
  "pf2e-8.6.1" no longer reads "vpf2e-8.6.1".
- The licence's terms link is underlined (axe link-in-text-block).
- The app bar's home link is named by its own text plus a hidden
  ", home", so on a phone its name contains the "QB" it shows
  (axe label-content-name-mismatch, WCAG 2.5.3).

Closes #1302

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test: the wordmark link's name, without its aria-label (#1302)
All checks were successful
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 55s
CI / Bot/backend version sync (pull_request) Successful in 28s
CI / Backend lint (ruff) (pull_request) Successful in 31s
CI / Feedback site tests (pull_request) Successful in 50s
CI / Does this change touch the recording path? (pull_request) Successful in 22s
CI / Which journeys does this change need? (pull_request) Successful in 22s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Bot tests and audit (pull_request) Successful in 2m9s
CI / Docker image build (pull_request) Successful in 3m10s
CI / Frontend (shard 2/2) (pull_request) Successful in 8m54s
CI / Frontend (shard 1/2) (pull_request) Successful in 10m26s
CI / End-to-end journeys (desktop) (pull_request) Successful in 14m17s
CI / Backend migration, tests, and audit (pull_request) Successful in 33m30s
dd4be5aa49
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot scheduled this pull request to auto merge when all checks succeed 2026-11-02 05:35:06 +00:00
Sign in to join this conversation.
No description provided.