]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html
import ceph quincy 17.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / datatable / table-actions / table-actions.component.html
index 9720c14e9166bf99711c73a6ca90b64e9fde5eef..905aaa96b69be5721fad0edc874f2ce4ab198bbb 100644 (file)
@@ -6,7 +6,7 @@
             [ngClass]="{'disabled': disableSelectionAction(currentAction)}"
             (click)="useClickAction(currentAction)"
             [routerLink]="useRouterLink(currentAction)"
-            data-testid="table-action-button"
+            [attr.aria-label]="currentAction.name"
             [preserveFragment]="currentAction.preserveFragment ? '' : null">
       <i [ngClass]="[currentAction.icon]"></i>
       <span>{{ currentAction.name }}</span>
@@ -32,7 +32,8 @@
                 (click)="useClickAction(action)"
                 [routerLink]="useRouterLink(action)"
                 [preserveFragment]="action.preserveFragment ? '' : null"
-                [disabled]="disableSelectionAction(action)">
+                [disabled]="disableSelectionAction(action)"
+                [attr.aria-label]="action.name">
           <i [ngClass]="[action.icon, 'action-icon']"></i>
           <span>{{ action.name }}</span>
         </button>