mirror of https://github.com/2dust/v2rayN
- 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 stylepull/7475/head
parent
45d9104e42
commit
0063b9ae0c
|
@ -174,6 +174,7 @@
|
||||||
BasedOn="{StaticResource MaterialDesignChoiceChipPrimaryOutlineListBoxItem}"
|
BasedOn="{StaticResource MaterialDesignChoiceChipPrimaryOutlineListBoxItem}"
|
||||||
TargetType="{x:Type ListBoxItem}">
|
TargetType="{x:Type ListBoxItem}">
|
||||||
<Setter Property="Margin" Value="-2,0" />
|
<Setter Property="Margin" Value="-2,0" />
|
||||||
|
<Setter Property="AutomationProperties.Name" Value="{Binding Remarks}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style
|
<Style
|
||||||
x:Key="MyOutlinedTextComboBox"
|
x:Key="MyOutlinedTextComboBox"
|
||||||
|
|
Loading…
Reference in New Issue