From 1eb143fad4e50670c9967fd55fd4c6274fdbe135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 18 Jun 2026 15:15:01 +0200 Subject: [PATCH] fix(a11y): raise sub-44px tap targets to the mobile floor Bring interactive elements that fell below the 44px iOS/WCAG touch floor up to min-h-11 on phones (relaxing to the denser sm density on larger screens), and add visible focus rings where they were missing: - TimesOfDayChips remove button + API-token copy buttons gain an inset hit-area so the visual density stays tight while the tap target clears the floor. - Dose-history row-actions menu trigger and the insights suggested- prompt chips raise to min-h-11 sm:min-h-9. - Sortable table headers and the glucose advanced disclosure toggle gain a focus-visible ring and a phone tap floor. --- src/components/data-list/sortable-head.tsx | 2 +- .../insights/glucose/glucose-advanced-disclosure.tsx | 2 +- src/components/insights/suggested-prompts.tsx | 12 ++++++------ src/components/medications/dose-history-ledger.tsx | 2 +- .../medications/scheduling/TimesOfDayChips.tsx | 2 +- .../medications/sections/api-tokens-row.tsx | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/data-list/sortable-head.tsx b/src/components/data-list/sortable-head.tsx index c02c0ac12..44730b408 100644 --- a/src/components/data-list/sortable-head.tsx +++ b/src/components/data-list/sortable-head.tsx @@ -32,7 +32,7 @@ export function SortableHead({