Skip to content

Commit

Permalink
Match 'add appearance' button text to AutoProp.Name (#14564)
Browse files Browse the repository at this point in the history
Similar to #14519.

Voice Access allows for functionality like "click <name>" to automatically move the cursor and click on a control. The Search Box had an AutoProp.Name that didn't match the button text, leading to confusion because Voice Access wouldn't be able to find a control named "Create".

To fix this, we simply aligned the button text and the AutoProp.Name.

Closes #13808
  • Loading branch information
carlos-zamora authored Dec 15, 2022
1 parent 286fdfe commit dbc27ab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@
<comment>The header for the section where the unfocused appearance settings can be changed.</comment>
</data>
<data name="Profile_AddAppearanceButton.Text" xml:space="preserve">
<value>Add</value>
<value>Create Appearance</value>
<comment>Button label that adds an unfocused appearance for this profile.</comment>
</data>
<data name="Profile_DeleteAppearanceButton.Text" xml:space="preserve">
Expand Down Expand Up @@ -1435,7 +1435,7 @@
</data>
<data name="Profile_CreateUnfocusedAppearanceButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Create Appearance</value>
<comment>Name for a control which creates an the unfocused appearance settings for this profile.</comment>
<comment>Name for a control which creates an the unfocused appearance settings for this profile. Text must match that of "Profile_AddAppearanceButton.Text".</comment>
</data>
<data name="Profile_CreateUnfocusedAppearanceButton.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
<value>Create an unfocused appearance for this profile. This will be the appearance of the profile when it is inactive.</value>
Expand Down Expand Up @@ -1569,4 +1569,4 @@
<value>Warn when closing more than one tab</value>
<comment>Header for a control to toggle whether to show a confirm dialog box when closing the application with multiple tabs open.</comment>
</data>
</root>
</root>

0 comments on commit dbc27ab

Please sign in to comment.