- Updated App.xaml to enhance accessibility for ListBoxItem elements

- Set AutomationProperties.Name in MyChipListBoxItem style using the Remarks property
- This ensures screen readers like NVDA announce meaningful content instead of the class name
- Applies globally to all ListBoxes using the MyChipListBoxItem style
This commit is contained in:
Reza Bakhshi Laktasaraei 2025-06-08 10:55:33 +03:30
parent 9e89504087
commit e9f62913ca

View file

@ -174,6 +174,7 @@
BasedOn="{StaticResource MaterialDesignChoiceChipPrimaryOutlineListBoxItem}"
TargetType="{x:Type ListBoxItem}">
<Setter Property="Margin" Value="-2,0" />
<Setter Property="AutomationProperties.Name" Value="{Binding Remarks}" />
</Style>
<Style
x:Key="MyOutlinedTextComboBox"