[Settings][Accessibility]Assign AutomationProperties.Name to Backup Select Folder button (#32579)

This commit is contained in:
Stefan Markovic
2024-04-23 15:56:14 +02:00
committed by GitHub
parent bd7614e531
commit 1f11de8b52
2 changed files with 8 additions and 1 deletions

View File

@@ -271,6 +271,7 @@
</ToolTipService.ToolTip>
</TextBlock>
<Button
x:Uid="General_SettingsBackupAndRestore_ButtonSelectFolder"
Grid.Column="1"
Command="{Binding SelectSettingBackupDirEventHandler}"
Content="&#xe8da;"

View File

@@ -59,7 +59,10 @@
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:schema id="root"
xmlns=""
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
@@ -996,6 +999,9 @@
<data name="General_SettingsBackupAndRestore_ButtonRestore.Content" xml:space="preserve">
<value>Restore</value>
</data>
<data name="General_SettingsBackupAndRestore_ButtonSelectFolder.[using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Select folder</value>
</data>
<data name="General_SettingsBackupAndRestore_ButtonSelectLocation.Text" xml:space="preserve">
<value>Select folder</value>
</data>