feat: enhance hyperlink accessibility and automation properties in UI components (#825)

This commit is contained in:
Jeffrey
2026-10-14 00:03:58 +02:00
committed by GitHub
parent 1a2ffc70f8
commit 9361d7e65d
6 changed files with 88 additions and 18 deletions
+14
View File
@@ -114,6 +114,20 @@
</Style.Triggers>
</Style>
<!-- Native inline links retain keyboard activation and link automation semantics. -->
<Style x:Key="InlineHyperlinkStyle" TargetType="Hyperlink">
<Setter Property="Foreground" Value="{DynamicResource ButtonBgColor}"/>
<Setter Property="TextDecorations" Value="{x:Null}"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="{DynamicResource ButtonHoverColor}"/>
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="True">
<Setter Property="TextDecorations" Value="Underline"/>
</Trigger>
</Style.Triggers>
</Style>
<!-- ProgressBar Style -->
<Style x:Key="ApplyProgressBarStyle" TargetType="ProgressBar">
<Setter Property="Background" Value="{DynamicResource ButtonBorderColor}"/>