mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-01 20:42:10 +00:00
- Set AutomationProperties.Name on DataGridRow using the Remarks property
- Prevents NVDA from reading the type name (e.g. ServiceLib.Models.ProfileItemModel) - Now screen readers announce a meaningful label per row (e.g. server name) - Improves usability for keyboard and assistive technology users
This commit is contained in:
parent
aea95c2f86
commit
9e89504087
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@
|
|||
<DataGrid.Resources>
|
||||
<Style BasedOn="{StaticResource MaterialDesignDataGridRow}" TargetType="DataGridRow">
|
||||
<EventSetter Event="MouseDoubleClick" Handler="LstProfiles_MouseDoubleClick" />
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding Remarks}" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource MaterialDesignDataGridColumnHeader}" TargetType="DataGridColumnHeader">
|
||||
<EventSetter Event="Click" Handler="LstProfiles_ColumnHeader_Click" />
|
||||
|
|
Loading…
Reference in a new issue