Skip to content

Commit 4ea487c

Browse files
Fix Processes Overview accessibility issues
- Added missing aria-label to delete button
1 parent 3bdfc38 commit 4ea487c

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/app/process-page/overview/process-overview.component.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ <h2 class="flex-grow-1">{{'process.overview.title' | translate}}</h2>
4444
<td>{{process.endTime | date:dateFormat:'UTC'}}</td>
4545
<td>{{process.processStatus}}</td>
4646
<td>
47-
<button class="btn btn-outline-danger"
48-
(click)="processBulkDeleteService.toggleDelete(process.processId)"><i
49-
class="fas fa-trash"></i></button>
47+
<button [attr.aria-label]="'process.overview.delete-process' | translate"
48+
(click)="processBulkDeleteService.toggleDelete(process.processId)"
49+
class="btn btn-outline-danger">
50+
<i class="fas fa-trash"></i>
51+
</button>
5052
</td>
5153
</tr>
5254
</tbody>

src/assets/i18n/en.json5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3242,6 +3242,8 @@
32423242

32433243
"process.overview.delete": "Delete {{count}} processes",
32443244

3245+
"process.overview.delete-process": "Delete process",
3246+
32453247
"process.overview.delete.clear": "Clear delete selection",
32463248

32473249
"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.",

0 commit comments

Comments
 (0)