Repository navigation
Accessibility: readable count on the selected Projects chip - #249
Merged
Merged
Conversation
The count inside the selected filter chip on /projects was grey #aaa on the purple #653496: 3.6:1, under WCAG's 4.5:1. CI's a11y spec catches it on every PR now that it has real repos. It's light purple #e9d5ff there now (6.2:1); unselected chips keep #aaa (6.8:1 on the page). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nginuw5wmUjUSkmQB1J3pS
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI's a11y spec (from #243) fails on every open PR, and would fail on
maintoo, with one rule on/projects:The count inside the selected filter chip ("All 12") was grey on the purple chip. Its colour is now light purple
#e9d5ff, which gives 6.21:1. This sandbox has no network, so/projectshas no repos locally, and the problem only showed in CI, which has real data.Related Issue
Follow-up to #243 (accessibility). It's the failure on #230 and #248: Android touch shards 1/4 and 3/4.
Changes Made
pages/projects.vue:.chip.is-on .chip__count { color: #e9d5ff }, with a comment giving the ratio.#aaa, which is 6.82:1 on the page background, so they were already fine.How to Test
npm test: 253 pass.npm run generate: OK./projects:rgb(233, 213, 255)onrgb(101, 52, 150);tests/e2e/a11y.spec.mjson Pixel 7 and Galaxy Tab S9 landscape: 28 passed.#aaaon#653496is 3.64 (CI measured 3.63), and#e9d5ffon#653496is 6.21.Additional Notes
Generated by Claude Code