Skip to content

Commit 9e3cc9d

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]> (cherry picked from commit 6abd721) Service-Card-Id: 89047231 Service-Version: 1.17
1 parent 0db21e8 commit 9e3cc9d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
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

+5-1
Original file line numberDiff line numberDiff line change
@@ -795,4 +795,8 @@
795795
<data name="NewTabMenuFolderEmpty" xml:space="preserve">
796796
<value>Empty...</value>
797797
</data>
798-
</root>
798+
<data name="TabColorClearButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.FullDescription" xml:space="preserve">
799+
<value>Reset tab color</value>
800+
<comment>Text used to identify the reset button</comment>
801+
</data>
802+
</root>

0 commit comments

Comments
 (0)