Fix Accessibility Issues of PT Run settings page (#6090)

* label number box

* Added information to the PTRun image on the right
This commit is contained in:
Alekhya
2020-08-21 12:21:15 -07:00
committed by GitHub
parent 79bb68d784
commit b5dec2e935
2 changed files with 7 additions and 2 deletions

View File

@@ -591,6 +591,9 @@
<data name="About_PowerLauncher.Text" xml:space="preserve">
<value>About PowerToys Run</value>
</data>
<data name="PowerToys_Run_Image.AutomationProperties.Name" xml:space="preserve">
<value>PowerToys Run</value>
</data>
<data name="About_PowerRename.Text" xml:space="preserve">
<value>About Power Rename</value>
</data>

View File

@@ -127,6 +127,7 @@
/>-->
<TextBlock x:Uid="PowerLauncher_MaximumNumberOfResults"
x:Name="PowerLauncher_MaximumNumberOfResults"
Margin="{StaticResource SmallTopMargin}"
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
@@ -136,7 +137,8 @@
HorizontalAlignment="Left"
Minimum="1"
Margin="{StaticResource HeaderTextTopMargin}"
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"/>
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"
AutomationProperties.LabeledBy="{Binding ElementName=PowerLauncher_MaximumNumberOfResults}"/>
<CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch"
Margin="{StaticResource SmallTopMargin}"
@@ -172,7 +174,7 @@
HorizontalAlignment="Left"
Margin="{StaticResource SmallTopBottomMargin}"
RelativePanel.Below="DescriptionPanel">
<Image Source="ms-appx:///Assets/Modules/PowerLauncher.png" />
<Image x:Uid="PowerToys_Run_Image" Source="ms-appx:///Assets/Modules/PowerLauncher.png" />
</Border>
<StackPanel x:Name="LinksPanel"