1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Enhance accessibility by adding tabindex attributes to sortable table headers and options button in app-table-row-scrollable.component.html (#16597)

This commit is contained in:
Alex
2025-09-25 20:03:08 -04:00
committed by GitHub
parent 2f34c6b9c6
commit 1c823ed9f6

View File

@@ -3,13 +3,13 @@
<ng-container header>
<th></th>
<th bitCell></th>
<th bitSortable="applicationName" bitCell>{{ "application" | i18n }}</th>
<th bitSortable="atRiskPasswordCount" bitCell default="desc">
<th bitSortable="applicationName" bitCell tabindex="0">{{ "application" | i18n }}</th>
<th bitSortable="atRiskPasswordCount" bitCell default="desc" tabindex="0">
{{ "atRiskPasswords" | i18n }}
</th>
<th bitSortable="passwordCount" bitCell>{{ "totalPasswords" | i18n }}</th>
<th bitSortable="atRiskMemberCount" bitCell>{{ "atRiskMembers" | i18n }}</th>
<th bitSortable="memberCount" bitCell>{{ "totalMembers" | i18n }}</th>
<th bitSortable="passwordCount" bitCell tabindex="0">{{ "totalPasswords" | i18n }}</th>
<th bitSortable="atRiskMemberCount" bitCell tabindex="0">{{ "atRiskMembers" | i18n }}</th>
<th bitSortable="memberCount" bitCell tabindex="0">{{ "totalMembers" | i18n }}</th>
</ng-container>
<ng-template bitRowDef let-row>
<td
@@ -128,6 +128,7 @@
bitIconButton="bwi-ellipsis-v"
size="small"
label="{{ 'options' | i18n }}"
tabindex="0"
></button>
<bit-menu #rowMenu>