[ColorPicker][Accessibility] Make OpenSettings and Copy to clipboard buttons focusable (#32588)

This commit is contained in:
Stefan Markovic
2024-04-23 16:15:10 +02:00
committed by GitHub
parent 18e4379632
commit 5c352a3bf3
2 changed files with 2 additions and 3 deletions

View File

@@ -12,10 +12,10 @@
<converters:NumberToInvertedVisibilityConverter x:Key="numberToInvertedVisibilityConverter" />
<Style x:Key="SubtleButtonStyle" TargetType="{x:Type Button}">
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}" />
<Setter Property="FocusVisualStyle" Value="{DynamicResource DefaultControlFocusVisualStyle}" />
<Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Focusable" Value="False" />
<Setter Property="Focusable" Value="True" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Padding" Value="1" />

View File

@@ -230,7 +230,6 @@
IsTabStop="False"
ItemsSource="{Binding ColorRepresentations}"
KeyboardNavigation.DirectionalNavigation="Contained"
KeyboardNavigation.TabNavigation="Once"
TabIndex="4">
<ItemsControl.ItemTemplate>
<DataTemplate>