mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +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:
@@ -3,13 +3,13 @@
|
|||||||
<ng-container header>
|
<ng-container header>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th bitCell></th>
|
<th bitCell></th>
|
||||||
<th bitSortable="applicationName" bitCell>{{ "application" | i18n }}</th>
|
<th bitSortable="applicationName" bitCell tabindex="0">{{ "application" | i18n }}</th>
|
||||||
<th bitSortable="atRiskPasswordCount" bitCell default="desc">
|
<th bitSortable="atRiskPasswordCount" bitCell default="desc" tabindex="0">
|
||||||
{{ "atRiskPasswords" | i18n }}
|
{{ "atRiskPasswords" | i18n }}
|
||||||
</th>
|
</th>
|
||||||
<th bitSortable="passwordCount" bitCell>{{ "totalPasswords" | i18n }}</th>
|
<th bitSortable="passwordCount" bitCell tabindex="0">{{ "totalPasswords" | i18n }}</th>
|
||||||
<th bitSortable="atRiskMemberCount" bitCell>{{ "atRiskMembers" | i18n }}</th>
|
<th bitSortable="atRiskMemberCount" bitCell tabindex="0">{{ "atRiskMembers" | i18n }}</th>
|
||||||
<th bitSortable="memberCount" bitCell>{{ "totalMembers" | i18n }}</th>
|
<th bitSortable="memberCount" bitCell tabindex="0">{{ "totalMembers" | i18n }}</th>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template bitRowDef let-row>
|
<ng-template bitRowDef let-row>
|
||||||
<td
|
<td
|
||||||
@@ -128,6 +128,7 @@
|
|||||||
bitIconButton="bwi-ellipsis-v"
|
bitIconButton="bwi-ellipsis-v"
|
||||||
size="small"
|
size="small"
|
||||||
label="{{ 'options' | i18n }}"
|
label="{{ 'options' | i18n }}"
|
||||||
|
tabindex="0"
|
||||||
></button>
|
></button>
|
||||||
|
|
||||||
<bit-menu #rowMenu>
|
<bit-menu #rowMenu>
|
||||||
|
|||||||
Reference in New Issue
Block a user