From 22455bba0a016f0cefabde46c539df588f789667 Mon Sep 17 00:00:00 2001 From: cesnimda Date: Sat, 10 Oct 2026 22:08:50 +0200 Subject: [PATCH] fix(a11y): size recorded-status drilldown targets --- .../phase-5/p5-15/p5-15-04/report-targets/README.md | 6 ++++++ job-tracker-ui/src/components/DashboardView.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/redesign/phase-5/p5-15/p5-15-04/report-targets/README.md b/docs/redesign/phase-5/p5-15/p5-15-04/report-targets/README.md index c2ee49d..2f58b73 100644 --- a/docs/redesign/phase-5/p5-15/p5-15-04/report-targets/README.md +++ b/docs/redesign/phase-5/p5-15/p5-15-04/report-targets/README.md @@ -3,3 +3,9 @@ The ordinary native regression reproduces a standalone Analytics custom-status link with an actual 18 px target height, below the existing 24 px criterion. This is a separate list, not an inline prose exception. The new test also requires keyboard navigation to preserve the exact non-ASCII custom status query and load its owned job. It exercises EN/light phone and NB/dark tablet; no report calculation or status value is changed. Two initial test attempts incorrectly toggled an already-open reporting disclosure closed. After correcting that fixture action, the meaningful assertion fails at measured height 18 (required at least 24). This is the RED application evidence; those setup failures are not additional product defects. PRES-S01 remains PARTIAL for unverified whole-area acceptance, with this confirmed target defect separately open. + +## Verified successor + +The shared Dashboard/Analytics recorded-status link now has an actual minimum width/height of 24 px and vertically centred text. Its query generation and translated label remain unchanged. The native regression passes 1/1 across both locale/theme/viewport samples, measuring the target and keyboard-navigating to the exact custom status with the corresponding owned job visible. The five existing Analytics component regressions and frontend build pass. No aggregate, filter, canonical/custom status or API semantics changed. + +The bounded A11Y-04 defect is repaired; PRES-S01 returns from FAIL to PARTIAL, retaining nonvisual chart, contrast and operator acceptance obligations. Native target geometry is not physical touch acceptance. diff --git a/job-tracker-ui/src/components/DashboardView.tsx b/job-tracker-ui/src/components/DashboardView.tsx index deb0627..26ddbfa 100644 --- a/job-tracker-ui/src/components/DashboardView.tsx +++ b/job-tracker-ui/src/components/DashboardView.tsx @@ -211,7 +211,7 @@ export default function DashboardView({ mode = "dashboard" }: { mode?: "dashboar {t("dashboardRecordedStatuses")} {Object.entries(stats?.byStatus ?? {}).map(([status, count]) => - {statusLabel(t, status)} + {statusLabel(t, status)} {number(count)} )}