Skip to content

Commit 8e4be39

Browse files
Add accessible name to Control Alt Fill checkbox on Colors page (#785)
The example checkbox in the 'Control Alt Fill' section of the WPF Gallery Colors page had no AutomationProperties.Name, so Narrator announced only its checked state and not its label. Adding an accessible name fixes the MAS 4.1.2 (Name, Role, Value) issue. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a54100d commit 8e4be39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sample Applications/WPFGallery/Views/DesignGuidance/FillSection.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
Title="Control Alt Fill"
9797
Background="{DynamicResource SolidBackgroundFillColorQuarternaryBrush}"
9898
Description="Fill used for the 'off' states of toggle controls">
99-
<CheckBox Focusable="False"/>
99+
<CheckBox Focusable="False" AutomationProperties.Name="Control Alt Fill"/>
100100
</controls:ColorPageExample>
101101
<Border Style="{StaticResource ColorTilesPanelStyle}" Margin="0,8"><Grid>
102102
<Grid.ColumnDefinitions>

0 commit comments

Comments
 (0)