Repository navigation
fix(platform): measure Home row contrast and repair the selected row - #4522
Conversation
|
TALE-452 repair receipt — head Ran: installed Oxfmt and file-scoped non-type-aware Oxlint, diff whitespace check, ordinary pre-commit and commitlint hooks. Local-only Opengrep hook completed under its configured skip-if-uncached behavior; no full SAST pass claimed. NOT_RUN locally: rendered contrast, axe and old-fails/new-passes. Configured real-Chromium Browser runner could not launch because Twelve authored cases cover light/dark, 1280px desktop and 390px screen, neutral/black/shipped-blue, and idle/hovered/aria-current ages. Task rows keep the shared age visible on hover. Neutral cases audit the whole listed Home panel/screen with axe; additional branded cases audit ages only. Light neutral cases include a DOM class replacement with the exact pre-#4171 age treatment and must observe contrast <4.5 plus an axe violation, restore it and pass. This negative control is authored, not yet executed. CI logs emit measured foreground/background/ratio and axe age results. Single CI snapshot: 2026-10-08T06:13:29Z; one complete page, 28 exact-head checks: 20 queued, 1 in progress, 7 skipped. Browser check |
|
Review A (TALE-358) evidence note, not a review verdict. The TALE-452 gate stays with its captured reviewer. The description is stale. It says "No production source or dependency changes", but head What the failing run before that fix shows about current
Not verified:
The Review A stack is BLOCKED (no reservation). Logs are cited by job ID; no local execution. |
7cf07e4 to
6c49d45
Compare
6c49d45 to
03d3068
Compare
03d3068 to
83da080
Compare
TALE-452 / #4060 still lacks rendered-browser evidence for Home row age contrast and axe color-contrast. This change extends the existing Chromium Browser-lane suite with twelve light/dark, desktop/phone and neutral/black/shipped-blue cases. Task rows exercise the shared age class in idle, actual pointer-hovered and aria-current highlighted states. Contrast comes from rendered computed styles, canvas composition and the actual sibling SlidingHighlight geometry.
Neutral cases run axe over the whole listed Home panel or screen. Additional branded cases run axe over the age nodes, requiring those nodes to appear in passing results. Light neutral cases temporarily apply the complete pre-#4171
/80age class to the rendered DOM, require a sub-AA measurement and axe violation, restore the class in finally and recheck the repair. Successful CI logs include colours, ratios and axe age results. One production line changes: the age text of the selected (aria-current=page) Home row now takes the foreground colour, because the measurement found the muted age text on that row below AA (3.47:1 and 3.89:1). No dependency changes.Addresses Independent Review feedback
c521d2f1-8c40-4a4d-a7f1-3803bea8a200on TALE-452. The production repair in #4171 remains in place.Validation (rebased onto current main on 2026-10-13): the whole
home-panel.browser.test.tsxruns in the local Chromium shell, 50 of 50 pass (the twelve new cases plus the 38 existing). Against main'shome-rows.tsxfive of the twelve fail, measuring 3.47:1 and 3.89:1.app/features/homeunder the jsdom UI config: 11 files, 165 tests pass. oxlint (type-aware),oxfmt --check,lint:conflicts,lint:manualand the platform guards pass. Full typecheck is left to the hosted gates (no type change). No merge requested or performed.