Describe the bug
When using the narrator on an app with SettingCards no clickable and with a controls in the content, the narrator behaves differently depending on the control used and if it is inside a Grid or a StackPanel (maybe there are other layouts also, but haven't tested)
Here it is an example of the different behaviors:
<StackPanel Spacing="4"
AutomationProperties.Name="Accessibility Test">
<controls:SettingsCard Description="When the ToggleSwitch is selected, the narrator will read 'Accessibility test group, ToggleSwitch SettingsCard, toggle switch off'. This control works right"
Header="ToggleSwitch SettingsCard"
HeaderIcon="{ui:FontIcon Glyph=}">
<ToggleSwitch />
</controls:SettingsCard>
<controls:SettingsCard Description="When the ToggleSwitch is selected, the narrator will read 'Grid and ToggleSwitch SettingsCard group, toggle switch off', 'Accessibility Test group' is missing"
Header="Grid and ToggleSwitch SettingsCard"
HeaderIcon="{ui:FontIcon Glyph=}">
<Grid>
<ToggleSwitch />
</Grid>
</controls:SettingsCard>
<controls:SettingsCard Description="When the ComboBox is selected, the narrator will read 'Accessibility Test group, ComboBox SettingsCard, option 1 ComboBox, collapsed'. This control works right"
Header="ComboBox SettingsCard"
HeaderIcon="{ui:FontIcon Glyph=}">
<ComboBox SelectedIndex="0">
<ComboBoxItem>Option 1</ComboBoxItem>
<ComboBoxItem>Option 2</ComboBoxItem>
<ComboBoxItem>Option 3</ComboBoxItem>
</ComboBox>
</controls:SettingsCard>
<controls:SettingsCard Description="When the ComboBox is selected, the narrator will read 'Grid and ComboBox SettingsCard, option 1 ComboBox, collapsed', 'Accessibility Test group' is missing"
Header="Grid and ComboBox SettingsCard"
HeaderIcon="{ui:FontIcon Glyph=}">
<Grid>
<ComboBox SelectedIndex="0">
<ComboBoxItem>Option 1</ComboBoxItem>
<ComboBoxItem>Option 2</ComboBoxItem>
<ComboBoxItem>Option 3</ComboBoxItem>
</ComboBox>
</Grid>
</controls:SettingsCard>
<controls:SettingsCard Description="When the Button is selected, the narrator will read 'Content button', 'Accessibility Test group' and 'Button SettingsCard' are missing"
Header="Button SettingsCard"
HeaderIcon="{ui:FontIcon Glyph=}">
<Button Content="Content"/>
</controls:SettingsCard>
<controls:SettingsCard Description="When the Button is selected, the narrator will read 'Grid and Button SettingsCard group, Content button', 'Accessibility Test group' is missing"
Header="Grid and Button SettingsCard"
HeaderIcon="{ui:FontIcon Glyph=}">
<Grid>
<Button Content="Content"/>
</Grid>
</controls:SettingsCard>
</StackPanel>
Steps to reproduce
1. Create a new project and set the above example as the content of the page.
2. Open the narrator and select the controls to see how the narrator behaves with the different controls.
Expected behavior
All the narrator outputs should be equal to the ToggleSwitch/ComoBox SettingsCard narrator output
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 23H2 (Build 22635.3140) (Insider build)
App minimum and target SDK version
Other SDK version
Windows 11, version 23H2 (Build 22621)
Visual Studio Version
2022
Visual Studio Build Number
17.9.0
Device form factor
Desktop
Additional context
No response
Help us help you
I would like to help, but I don't have too much experience with accessibility
Describe the bug
When using the narrator on an app with SettingCards no clickable and with a controls in the content, the narrator behaves differently depending on the control used and if it is inside a Grid or a StackPanel (maybe there are other layouts also, but haven't tested)
Here it is an example of the different behaviors:
Steps to reproduce
Expected behavior
All the narrator outputs should be equal to the ToggleSwitch/ComoBox SettingsCard narrator output
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 23H2 (Build 22635.3140) (Insider build)
App minimum and target SDK version
Other SDK version
Windows 11, version 23H2 (Build 22621)
Visual Studio Version
2022
Visual Studio Build Number
17.9.0
Device form factor
Desktop
Additional context
No response
Help us help you
I would like to help, but I don't have too much experience with accessibility