mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-02 04:52:09 +00:00
- 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:
parent
9e89504087
commit
e9f62913ca
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue