From 6bc4fd850285802f3731bf68ba8830bf0b64736e Mon Sep 17 00:00:00 2001 From: Blake Vandercar Date: Wed, 31 Jan 2024 23:18:27 -0700 Subject: [PATCH 01/15] feat(SegmentedControl): make listbox role to fix a11y --- .../segmented-control/segmentedControl.tsx | 20 +- yarn.lock | 3276 ++++++++--------- 2 files changed, 1656 insertions(+), 1640 deletions(-) diff --git a/packages/core/src/components/segmented-control/segmentedControl.tsx b/packages/core/src/components/segmented-control/segmentedControl.tsx index 2f84c625a1..103c5c812b 100644 --- a/packages/core/src/components/segmented-control/segmentedControl.tsx +++ b/packages/core/src/components/segmented-control/segmentedControl.tsx @@ -110,7 +110,14 @@ export const SegmentedControl: React.FC = React.forwardRe }); return ( -
+
{options.map(option => ( ; + return ( +