The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(a11y): correct WCAG 2.5.8 citation in ICON_BUTTON comment
Gonzalo Blasco22c87cae368f
diff --git a/apps/desktop/src/app/master-detail.tsx b/apps/desktop/src/app/master-detail.tsxindex 84b1e22d4f2..f2364ed998d 100644--- a/apps/desktop/src/app/master-detail.tsx+++ b/apps/desktop/src/app/master-detail.tsx@@ -206,7 +206,8 @@ const DETAIL_PANE_COLLAPSED_PX = 4// strip <Button size="icon">'s larger built-in size — a custom utility class// isn't size-merge-aware, so Button's icon size would leak and blow it up.// Compose extra state (data-[state=open], hover:text-destructive) with cn().-// 24px meets the WCAG 2.5.5 pointer-target floor (audit #38072, finding 6).+// 24px meets the WCAG 2.5.8 Target Size (Minimum) floor (audit #38072, finding 6);+// the 2.5.5 enhanced 44px target is deliberately not met here.export const ICON_BUTTON ='size-6 cursor-pointer rounded-[4px] text-muted-foreground/70 hover:bg-(--ui-control-active-background) hover:text-foreground'