Repository: microsoft/terminal (language: cpp)

Issue:
[Settings - Line Height] : Label 'Line Height' is not associated with the 'Reset' button.
### Windows Terminal version

1.18.902.0

### Windows build number

25324.1011

### Other Software

Test Environment:
OS: Windows 11 Version Dev (OS Build 25324.1011)
App: Windows Terminal Preview
Screen Reader: Narrator

### Steps to reproduce

Repro Steps:

1.Open Windows Terminal.
2.Open Setting page using 'Ctrl + ,' keys.
3.Now navigate to the 'Advanced' button present under 'Default Profile'.
4. Now navigate to the 'Line Height's reset' button and observe the issue.

User Experience:
People with visual impairments who rely on the screen readers are unable to know the button's description.

Guideline Link:
https://www.w3.org/TR/WCAG21/#info-and-relationships

Attachments:
[Label 'Line Height' is not associated with the 'Reset' button..zip](https://github.com/microsoft/terminal/files/11197431/Label.Line.Height.is.not.associated.with.the.Reset.button.zip)


### Expected Behavior

Label 'Line Height' should be associated with the 'Reset' button.

### Actual Behavior

Label 'Line Height' is not associated with the 'Reset' button.


Discussion / hints:

Fix patch:
diff --git a/src/cascadia/TerminalSettingsEditor/SettingContainerStyle.xaml b/src/cascadia/TerminalSettingsEditor/SettingContainerStyle.xaml
index 5efeceeaece..9803220c6b3 100644
--- a/src/cascadia/TerminalSettingsEditor/SettingContainerStyle.xaml
+++ b/src/cascadia/TerminalSettingsEditor/SettingContainerStyle.xaml
@@ -106,7 +106,8 @@
         <Setter Property="Template">
             <Setter.Value>
                 <ControlTemplate TargetType="local:SettingContainer">
-                    <Grid Style="{StaticResource NonExpanderGrid}">
+                    <Grid AutomationProperties.Name="{TemplateBinding Header}"
+                          Style="{StaticResource NonExpanderGrid}">
                         <Grid.ColumnDefinitions>
                             <ColumnDefinition Width="*" />
                             <ColumnDefinition Width="Auto" />


Test patch: