Fix Processes Overview accessibility issues

- Added missing aria-label to delete button
This commit is contained in:
Alexandre Vryghem
2023-11-27 23:18:56 +01:00
parent 3bdfc386e9
commit 4ea487cc0d
2 changed files with 7 additions and 3 deletions

View File

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

View File

@@ -3242,6 +3242,8 @@
"process.overview.delete": "Delete {{count}} processes", "process.overview.delete": "Delete {{count}} processes",
"process.overview.delete-process": "Delete process",
"process.overview.delete.clear": "Clear delete selection", "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.", "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.",