mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Fix Accessibility issues in the PowerRename settings page (#6101)
* add automation property to number box * Set the automation property for the image
This commit is contained in:
@@ -636,6 +636,9 @@
|
|||||||
<data name="About_PowerRename.Text" xml:space="preserve">
|
<data name="About_PowerRename.Text" xml:space="preserve">
|
||||||
<value>About Power Rename</value>
|
<value>About Power Rename</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PowerRename_Image.AutomationProperties.Name" xml:space="preserve">
|
||||||
|
<value>Power Rename</value>
|
||||||
|
</data>
|
||||||
<data name="About_ShortcutGuide.Text" xml:space="preserve">
|
<data name="About_ShortcutGuide.Text" xml:space="preserve">
|
||||||
<value>About Shortcut Guide</value>
|
<value>About Shortcut Guide</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -75,7 +75,8 @@
|
|||||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<TextBlock x:Uid="PowerRename_Toggle_MaxDispListNum"
|
<TextBlock Name="PowerRename_Toggle_MaxDispListNum"
|
||||||
|
x:Uid="PowerRename_Toggle_MaxDispListNum"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
||||||
|
|
||||||
@@ -86,7 +87,8 @@
|
|||||||
Minimum="0"
|
Minimum="0"
|
||||||
Width="240"
|
Width="240"
|
||||||
Maximum="20"
|
Maximum="20"
|
||||||
IsEnabled="{ x:Bind Mode=OneWay, Path=ViewModel.GlobalAndMruEnabled}"/>
|
IsEnabled="{ x:Bind Mode=OneWay, Path=ViewModel.GlobalAndMruEnabled}"
|
||||||
|
AutomationProperties.LabeledBy="{Binding ElementName=PowerRename_Toggle_MaxDispListNum}"/>
|
||||||
|
|
||||||
<CheckBox x:Uid="PowerRename_Toggle_RestoreFlagsOnLaunch"
|
<CheckBox x:Uid="PowerRename_Toggle_RestoreFlagsOnLaunch"
|
||||||
Margin="0, 17, 0, 0"
|
Margin="0, 17, 0, 0"
|
||||||
@@ -115,7 +117,7 @@
|
|||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopBottomMargin}"
|
Margin="{StaticResource SmallTopBottomMargin}"
|
||||||
RelativePanel.Below="DescriptionPanel">
|
RelativePanel.Below="DescriptionPanel">
|
||||||
<Image Source="ms-appx:///Assets/Modules/PowerRename.png" />
|
<Image x:Uid="PowerRename_Image" Source="ms-appx:///Assets/Modules/PowerRename.png" />
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<StackPanel x:Name="LinksPanel"
|
<StackPanel x:Name="LinksPanel"
|
||||||
|
|||||||
Reference in New Issue
Block a user