diff --git a/lib/process-services/src/lib/content-widget/attach-file-widget.component.html b/lib/process-services/src/lib/content-widget/attach-file-widget.component.html index b47cfa3090..2fa0687b75 100644 --- a/lib/process-services/src/lib/content-widget/attach-file-widget.component.html +++ b/lib/process-services/src/lib/content-widget/attach-file-widget.component.html @@ -59,18 +59,19 @@ </div> <div data-automation-id="adf-attach-widget-readonly-list"> - <mat-list *ngIf="hasFile"> - <mat-list-item class="adf-attach-files-row" *ngFor="let file of field.value"> - <img mat-list-icon class="adf-attach-widget__icon" - [id]="'file-'+file.id+'-icon'" - [src]="file.content ? getIcon(file.content.mimeType) : getIcon(file.mimeType)" - [alt]="mimeTypeIcon" - (click)="onAttachFileClicked(file)" - (keyup.enter)="onAttachFileClicked(file)" - role="button" - tabindex="0"/> + <mat-list *ngIf="hasFile" role="list"> + <mat-list-item class="adf-attach-files-row" *ngFor="let file of field.value" role="listitem"> + <img mat-list-icon class="adf-attach-widget__icon" + [id]="'file-'+file.id+'-icon'" + [src]="file.content ? getIcon(file.content.mimeType) : getIcon(file.mimeType)" + [alt]="mimeTypeIcon" + (click)="onAttachFileClicked(file)" + (keyup.enter)="onAttachFileClicked(file)" + role="img" + [attr.aria-label]="file.name" + tabindex="0"/> <span matLine id="{{'file-'+file.id}}" (click)="onAttachFileClicked(file)" [matTooltip]="file.name" (keyup.enter)="onAttachFileClicked(file)" - role="button" tabindex="0" class="adf-file">{{file.name}}</span> + tabindex="0" class="adf-file">{{file.name}}</span> <button id="{{'file-'+file.id+'-option-menu'}}" mat-icon-button [matMenuTriggerFor]="fileActionMenu" [attr.aria-label]="'ADF_PROCESS_LIST.DETAILS.BUTTON.FILE_OPTION_MENU' | translate"> <mat-icon>more_vert</mat-icon> diff --git a/lib/process-services/src/lib/process-list/components/start-process.component.html b/lib/process-services/src/lib/process-list/components/start-process.component.html index ee1a972696..a1d00643e1 100644 --- a/lib/process-services/src/lib/process-list/components/start-process.component.html +++ b/lib/process-services/src/lib/process-list/components/start-process.component.html @@ -49,7 +49,8 @@ *ngIf="showSelectProcessDropdown" mat-icon-button (click)="displayDropdown($event)" - [disabled]="disableDropdownButton()"> + [disabled]="disableDropdownButton()" + [attr.aria-label]="'ADF_PROCESS_LIST.START_PROCESS.FORM.LABEL.TYPE' | translate"> <mat-icon>arrow_drop_down</mat-icon> </button> </ng-container>