From ac94bbe57527e7daf9f21415775dd19fb1867586 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Tue, 13 Oct 2020 22:24:15 +0200 Subject: [PATCH 1/6] Added improved narrator support for custom shortcut control --- .../Strings/en-us/Resources.resw | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index 380e19b3c3..e4ac27c91a 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -337,7 +337,7 @@ Open zones editor - Set Shortcut + Enter shortcut Information Symbol @@ -768,4 +768,13 @@ A reboot may be required for changes to these settings to take effect - + + Open Color Picker + + + Open zones editor + + + Open PowerToys Run + + \ No newline at end of file From 3f4336697e5aa11a9f1ddb761f7082819ac23c55 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Tue, 13 Oct 2020 23:30:29 +0200 Subject: [PATCH 2/6] Improvements --- .../Controls/HotkeySettingsControl.xaml | 12 +++++++----- .../Strings/en-us/Resources.resw | 11 +---------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml b/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml index 7611e743e8..8b49e30aa2 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml +++ b/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml @@ -5,16 +5,18 @@ xmlns:local="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + AutomationProperties.Name="{x:Bind Header, Mode=OneTime}" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> - - - - + + + + + @@ -24,7 +26,7 @@ Foreground="{Binding Path=IsEnabled, ElementName=HotkeyTextBox, Converter={StaticResource ModuleEnabledToForegroundConverter}}" /> - Open zones editor - Enter shortcut + Set shortcut Information Symbol @@ -768,13 +768,4 @@ A reboot may be required for changes to these settings to take effect - - Open Color Picker - - - Open zones editor - - - Open PowerToys Run - \ No newline at end of file From 466a0015e952fc32644e14173bbc3f770c117049 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Fri, 23 Oct 2020 15:44:31 +0200 Subject: [PATCH 3/6] Fixed tooltip call out with narrator --- .../Controls/HotkeySettingsControl.xaml | 47 +++++++------------ .../Strings/en-us/Resources.resw | 16 +++---- 2 files changed, 25 insertions(+), 38 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml b/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml index 8b49e30aa2..89e2313a95 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml +++ b/src/core/Microsoft.PowerToys.Settings.UI/Controls/HotkeySettingsControl.xaml @@ -5,39 +5,26 @@ xmlns:local="using:Microsoft.PowerToys.Settings.UI.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - AutomationProperties.Name="{x:Bind Header, Mode=OneTime}" mc:Ignorable="d" + AutomationProperties.Name="{x:Bind Header, Mode=OneTime}" d:DesignHeight="300" d:DesignWidth="400"> - + - - - - - - - + + + + + - - - - - - - - - + + + + + + + \ No newline at end of file diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index a587a376d4..6c4d136aa5 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -204,10 +204,10 @@ Current Shortcut Remappings - Key Remapping + Key remapping - Shortcut Remapping + Shortcut remapping Remapped to @@ -337,7 +337,7 @@ Open zones editor - Set shortcut + Enter your shortcut Information Symbol @@ -502,7 +502,7 @@ Enable Image Resizer - Image Size + Image size Configurations @@ -511,19 +511,19 @@ Configuration Name - Fit Property + Fit property - Width Property + Width property Height Property - Size Property + Size property - Times Symbol + Times symbol Remove From 7c4216261889c06164cee5b62bf416c9cbe01939 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Fri, 23 Oct 2020 15:57:34 +0200 Subject: [PATCH 4/6] Updated string --- .../Strings/en-us/Resources.resw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index 6c4d136aa5..9e9762952c 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -337,7 +337,7 @@ Open zones editor - Enter your shortcut + Shortcut setting Information Symbol From 773c57e6094ef995875faeccb569fe09ad304218 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Fri, 23 Oct 2020 16:10:16 +0200 Subject: [PATCH 5/6] File format limitations are now announced by Narrator --- .../Views/ImageResizerPage.xaml | 70 ++++++++----------- 1 file changed, 31 insertions(+), 39 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml b/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml index 3939cea8ec..d7c98c4f64 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml +++ b/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml @@ -255,7 +255,9 @@ MinWidth="240" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}" Margin="{StaticResource SmallTopMargin}" - AutomationProperties.LabeledBy="{Binding ElementName=ImageResizer_FilenameFormatHeader}"> + AutomationProperties.LabeledBy="{Binding ElementName=ImageResizer_FilenameFormatHeader}" + AutomationProperties.HelpText="{Binding ElementName=FileFormatTextBlock, Path=Text}" + > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 61a2e5297fa006a87036178132f668d50157d8b7 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Sat, 24 Oct 2020 16:35:10 +0200 Subject: [PATCH 6/6] Fix resource issue --- .../Strings/en-us/Resources.resw | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index e48dbc0734..93002886a0 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -340,7 +340,7 @@ Open zones editor - Set Shortcut + Shortcut setting Information Symbol @@ -786,7 +786,4 @@ Light - - Set Shortcut Shortcut setting - \ No newline at end of file