From 55570cce441845635f608568114c14b03b5d4815 Mon Sep 17 00:00:00 2001 From: Davide Giacometti Date: Mon, 9 Dec 2024 22:42:59 +0100 Subject: [PATCH 1/2] make narrator announce buttons/toggles --- .../Settings.UI/SettingsXAML/Views/DashboardPage.xaml | 5 +++++ src/settings-ui/Settings.UI/Strings/en-us/Resources.resw | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml index 641ee727089e..db7e25a7cb2b 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml @@ -325,6 +325,7 @@ Padding="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" + AutomationProperties.Name="{x:Bind Label}" Background="Transparent" BorderThickness="0" Click="DashboardListItemClick" @@ -370,6 +371,7 @@ @@ -416,6 +419,7 @@ Padding="0" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" + AutomationProperties.Name="{x:Bind Label}" Background="Transparent" BorderThickness="0" Click="DashboardListItemClick" @@ -458,6 +462,7 @@ System Tools + + Enable module + \ No newline at end of file From 463bc9c8a2f865ca68710d68e370977172869ce7 Mon Sep 17 00:00:00 2001 From: Davide Giacometti Date: Mon, 9 Dec 2024 23:12:07 +0100 Subject: [PATCH 2/2] add toggles module name --- .../Settings.UI/SettingsXAML/Views/DashboardPage.xaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml index db7e25a7cb2b..0e26afcaace6 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/DashboardPage.xaml @@ -375,6 +375,7 @@ Grid.Column="3" Margin="0,-2,0,0" HorizontalAlignment="Right" + AutomationProperties.HelpText="{x:Bind Label}" IsEnabled="{x:Bind IsLocked, Converter={StaticResource BoolNegationConverter}, ConverterParameter=True, Mode=OneWay}" IsOn="{x:Bind IsEnabled, Mode=TwoWay}" OffContent="" @@ -466,6 +467,7 @@ Grid.Column="3" Margin="0,-2,0,0" HorizontalAlignment="Right" + AutomationProperties.HelpText="{x:Bind Label}" IsEnabled="{x:Bind IsLocked, Converter={StaticResource BoolNegationConverter}, ConverterParameter=True, Mode=OneWay}" IsOn="{x:Bind IsEnabled, Mode=TwoWay}" OffContent=""