Commits

Alexandre Vryghem authored and github-actions[bot] committed bc1ed9a96fa
Fix Processes Overview accessibility issues

- Added missing aria-label to delete button (cherry picked from commit 4ea487cc0d9df74bee2ca286f5b4f1745bb31a1f)
No tags

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

Modified
37 37 <tbody>
38 38 <tr *ngFor="let process of (processesRD$ | async)?.payload?.page"
39 39 [class.table-danger]="processBulkDeleteService.isToBeDeleted(process.processId)">
40 40 <td><a [routerLink]="['/processes/', process.processId]">{{process.processId}}</a></td>
41 41 <td><a [routerLink]="['/processes/', process.processId]">{{process.scriptName}}</a></td>
42 42 <td *ngVar="(getEpersonName(process.userId) | async) as ePersonName">{{ePersonName}}</td>
43 43 <td>{{process.startTime | date:dateFormat:'UTC'}}</td>
44 44 <td>{{process.endTime | date:dateFormat:'UTC'}}</td>
45 45 <td>{{process.processStatus}}</td>
46 46 <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>
50 52 </td>
51 53 </tr>
52 54 </tbody>
53 55 </table>
54 56 </div>
55 57 </ds-pagination>
56 58 </div>
57 59
58 60 <ng-template #deleteModal>
59 61

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut