Repository: microsoft/terminal (language: cpp)

Issue:
[Color Scheme - Camphell]: Name is not defined for 'Delete Color Scheme' button.
### Windows Terminal version

1.19.2481.0

### Windows build number

23529.1000

### Other Software

Test Environment:
OS: Windows 11 Version Dev (OS Build 23529.1000)
App: Windows Terminal Preview

### Steps to reproduce

**Repro Steps: **

1.Open Windows Terminal.
2.Open Settings page using 'Ctr+,'
3. Navigate to the 'Color Scheme' and activate 'Add new'.
4. Now navigate to 'Delete color scheme' button and observe the issue.

**User Experience: **
Screen Reader users will not know the exact reference of the control, if name is not defined for the 'Delete color scheme' button.

MAS Reference:
https://www.w3.org/WAI/WCAG21/Understanding/name-role-value

Attachment:

[Name is not defined for 'Delete Color Scheme' button.zip](https://github.com/microsoft/terminal/files/12644705/Name.is.not.defined.for.Delete.Color.Scheme.button.zip)

### Expected Behavior

Name should be defined for 'Delete Color Scheme' button.

### Actual Behavior

Name is not defined for 'Delete Color Scheme' button.


Discussion / hints:

Fix patch:
diff --git a/src/cascadia/TerminalSettingsEditor/EditColorScheme.cpp b/src/cascadia/TerminalSettingsEditor/EditColorScheme.cpp
index 226aa9f7b46..4a2bdba6b01 100644
--- a/src/cascadia/TerminalSettingsEditor/EditColorScheme.cpp
+++ b/src/cascadia/TerminalSettingsEditor/EditColorScheme.cpp
@@ -35,6 +35,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
         Automation::AutomationProperties::SetName(RenameAcceptButton(), RS_(L"RenameAccept/[using:Windows.UI.Xaml.Controls]ToolTipService/ToolTip"));
         Automation::AutomationProperties::SetName(RenameCancelButton(), RS_(L"RenameCancel/[using:Windows.UI.Xaml.Controls]ToolTipService/ToolTip"));
         Automation::AutomationProperties::SetName(SetAsDefaultButton(), RS_(L"ColorScheme_SetAsDefault/Header"));
+        Automation::AutomationProperties::SetName(DeleteButton(), RS_(L"ColorScheme_DeleteButton/Text"));
     }
 
     void EditColorScheme::OnNavigatedTo(const NavigationEventArgs& e)


Test patch: