From 790ced42048391418233b61600c2dc63fb35c73c Mon Sep 17 00:00:00 2001 From: Knacky Date: Sun, 21 Jun 2026 22:18:09 +0200 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20design-review=20polish=20?= =?UTF-8?q?=E2=80=94=20table-compact=20height,=20header=20type-scale,=20ta?= =?UTF-8?q?bs=20a11y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix 1 (A): move row height constraint from min-height on tbody tr (CSS no-op on table-row) to height: 32px on td (works on table-cell). Fix 2 (A): table header text-[11px] -> text-[12px] to align with documented caption scale. Fix 3: add aria-controls + id to Tabs buttons; wrap active tab content in role="tabpanel" + aria-labelledby in EngagementDetailPage. Test: add aria-controls/id assertion to Tabs.test.tsx (234 total). Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/Tabs.tsx | 2 + frontend/src/pages/EngagementDetailPage.tsx | 58 ++++++++++++--------- frontend/src/styles/index.css | 4 +- frontend/tests/components/Tabs.test.tsx | 10 ++++ 4 files changed, 46 insertions(+), 28 deletions(-) diff --git a/frontend/src/components/Tabs.tsx b/frontend/src/components/Tabs.tsx index 5f7a8be..3bf5831 100644 --- a/frontend/src/components/Tabs.tsx +++ b/frontend/src/components/Tabs.tsx @@ -21,8 +21,10 @@ export function Tabs({ items, activeId, onChange }: TabsProps): JSX.Element { return (