Add accessible name to font scaling slider (#4993)

FontScalingSlider had no AutomationProperties.Name, so screen readers
announce it as an unnamed slider with only a raw numeric value.
Completes the accessible-name coverage of the font scaling popup.
This commit is contained in:
Malin Fossum
2026-08-19 14:00:12 -05:00
committed by GitHub
parent b21d416161
commit 6066675f93
+2 -1
View File
@@ -1222,7 +1222,8 @@
TickPlacement="BottomRight" TickPlacement="BottomRight"
IsSnapToTickEnabled="True" IsSnapToTickEnabled="True"
Width="120" Width="120"
VerticalAlignment="Center"/> VerticalAlignment="Center"
AutomationProperties.Name="Font Scaling"/>
<TextBlock Text="Large" <TextBlock Text="Large"
FontSize="{DynamicResource ButtonFontSize}" FontSize="{DynamicResource ButtonFontSize}"
Foreground="{DynamicResource MainForegroundColor}" Foreground="{DynamicResource MainForegroundColor}"