From eaccd1d5c080e97adb30909e13bdfd5309002293 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Tue, 29 Sep 2026 22:08:10 +0200 Subject: [PATCH] fix(ui): restore the focus ring on radios, checkboxes, switches, accordions and toasts These controls set outline-none, which overrides the global :focus-visible accent ring, so keyboard users saw no focus indicator. Toast buttons also set focus-visible:outline-accent, which only changes the colour and left the outline style at none. The radio now transitions only border-color so the ring doesn't fade in from the text colour. --- packages/ui/src/components/accordion.tsx | 2 +- packages/ui/src/components/checkbox.tsx | 2 +- packages/ui/src/components/radio-group.tsx | 2 +- packages/ui/src/components/switch.tsx | 4 ++-- packages/ui/src/components/toast.tsx | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/ui/src/components/accordion.tsx b/packages/ui/src/components/accordion.tsx index d124a1936..1b7e49518 100644 --- a/packages/ui/src/components/accordion.tsx +++ b/packages/ui/src/components/accordion.tsx @@ -22,7 +22,7 @@ function AccordionTrigger({ className, children, ...props }: AccordionPrimitive.