From 4e1770edecb491f860b5cea3eb5bc99e5b58a2d3 Mon Sep 17 00:00:00 2001 From: Rachel Kang Date: Mon, 28 Nov 2022 18:35:53 -0400 Subject: [PATCH] [iOS] RadioButton a11y (#10832) * First attempt of radiobutton a11y * Make Switch trait work as expected * Update control gallery sample * Make class internal for potential backport * Update based on feedback * Add comment * Update based on feedback --- .../ContentProperties.xaml | 33 +++++++++++++++ .../RadioButtonGroupGalleryPage.xaml | 7 +++- .../RadioButton/RadioButton.Impl.cs | 18 ++++++++ .../VisualElement/VisualElement.Impl.cs | 17 +++----- .../RadioButton/RadioButtonHandler.iOS.cs | 15 +++---- .../Platform/iOS/SemanticSwitchContentView.cs | 42 +++++++++++++++++++ 6 files changed, 113 insertions(+), 19 deletions(-) create mode 100644 src/Core/src/Platform/iOS/SemanticSwitchContentView.cs diff --git a/src/Controls/samples/Controls.Sample/Pages/Controls/RadioButtonGalleries/ContentProperties.xaml b/src/Controls/samples/Controls.Sample/Pages/Controls/RadioButtonGalleries/ContentProperties.xaml index 5df45beb7487..f0e2f9e00ae6 100644 --- a/src/Controls/samples/Controls.Sample/Pages/Controls/RadioButtonGalleries/ContentProperties.xaml +++ b/src/Controls/samples/Controls.Sample/Pages/Controls/RadioButtonGalleries/ContentProperties.xaml @@ -43,6 +43,39 @@ +