Skip to content

Commit 6abd721

Browse files
Make reset button accessible (#15257)
Make the reset button accessible by adding description in reset. Closes #12044 --------- Co-authored-by: Dustin L. Howett <[email protected]>
1 parent 8c28e13 commit 6abd721

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/cascadia/TerminalApp/ColorPickupFlyout.xaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@
107107
x:Uid="TabColorClearButton"
108108
Grid.Column="0"
109109
HorizontalAlignment="Stretch"
110-
Click="ClearColorButton_Click"
111-
Content="Reset" />
110+
Click="ClearColorButton_Click" />
112111
<ToggleButton x:Name="CustomColorButton"
113112
x:Uid="TabColorCustomButton"
114113
Grid.Column="1"

src/cascadia/TerminalApp/Resources/en-US/Resources.resw

+4
Original file line numberDiff line numberDiff line change
@@ -823,4 +823,8 @@
823823
<data name="ClosePaneToolTip" xml:space="preserve">
824824
<value>Close the active pane if multiple panes are present</value>
825825
</data>
826+
<data name="TabColorClearButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.FullDescription" xml:space="preserve">
827+
<value>Reset tab color</value>
828+
<comment>Text used to identify the reset button</comment>
829+
</data>
826830
</root>

0 commit comments

Comments
 (0)