Fix Processes Overview accessibility issues

- Added missing aria-label to delete button

(cherry picked from commit 4ea487cc0d)
This commit is contained in:
Alexandre Vryghem
2023-11-27 23:18:56 +01:00
committed by github-actions[bot]
parent 57ebe88994
commit bc1ed9a96f
2 changed files with 7 additions and 3 deletions

View File

@@ -44,9 +44,11 @@
<td>{{process.endTime | date:dateFormat:'UTC'}}</td>
<td>{{process.processStatus}}</td>
<td>
<button class="btn btn-outline-danger"
(click)="processBulkDeleteService.toggleDelete(process.processId)"><i
class="fas fa-trash"></i></button>
<button [attr.aria-label]="'process.overview.delete-process' | translate"
(click)="processBulkDeleteService.toggleDelete(process.processId)"
class="btn btn-outline-danger">
<i class="fas fa-trash"></i>
</button>
</td>
</tr>
</tbody>

View File

@@ -3242,6 +3242,8 @@
"process.overview.delete": "Delete {{count}} processes",
"process.overview.delete-process": "Delete process",
"process.overview.delete.clear": "Clear delete selection",
"process.overview.delete.processing": "{{count}} process(es) are being deleted. Please wait for the deletion to fully complete. Note that this can take a while.",