From 788aac5837c407cf6e278cba3d876883a7954012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 7 Jul 2026 12:07:23 +0200 Subject: [PATCH] fix(a11y): extend the row-checkbox touch target to 32 px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 16×16 checkbox on the measurement/mood/values row selectors sits below the WCAG 2.5.8 24 px minimum. Reuse the switch's ::before hit-area extension: the visual box stays 16 px, the pointer target grows to 32×32 without any layout shift. --- src/components/ui/checkbox.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/ui/checkbox.tsx b/src/components/ui/checkbox.tsx index 3fa35c4c5..9ff06273e 100644 --- a/src/components/ui/checkbox.tsx +++ b/src/components/ui/checkbox.tsx @@ -25,7 +25,14 @@ function Checkbox({