mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Fix Processes Overview accessibility issues
- Added missing aria-label to delete button
This commit is contained in:
@@ -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>
|
||||
|
@@ -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.",
|
||||
|
Reference in New Issue
Block a user