Make reset button accessible (#15257)

Make the reset button accessible by adding description in reset.

Closes #12044

---------

Co-authored-by: Dustin L. Howett <dustin@howett.net>
(cherry picked from commit 6abd72177b)
Service-Card-Id: 89047231
Service-Version: 1.17
This commit is contained in:
Ben Constable 2023-05-02 18:33:50 +01:00 committed by Dustin Howett
parent 0db21e8904
commit 9e3cc9d379
2 changed files with 6 additions and 3 deletions

View File

@ -107,8 +107,7 @@
x:Uid="TabColorClearButton" x:Uid="TabColorClearButton"
Grid.Column="0" Grid.Column="0"
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
Click="ClearColorButton_Click" Click="ClearColorButton_Click" />
Content="Reset" />
<ToggleButton x:Name="CustomColorButton" <ToggleButton x:Name="CustomColorButton"
x:Uid="TabColorCustomButton" x:Uid="TabColorCustomButton"
Grid.Column="1" Grid.Column="1"

View File

@ -795,4 +795,8 @@
<data name="NewTabMenuFolderEmpty" xml:space="preserve"> <data name="NewTabMenuFolderEmpty" xml:space="preserve">
<value>Empty...</value> <value>Empty...</value>
</data> </data>
</root> <data name="TabColorClearButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.FullDescription" xml:space="preserve">
<value>Reset tab color</value>
<comment>Text used to identify the reset button</comment>
</data>
</root>