Revert "[ACS-3553] Fix process page accessibility from csv(880320,880281) (#8017)" (#8018)

This reverts commit d7ad1f9ad9.
This commit is contained in:
Denys Vuika
2022-11-29 11:27:07 +00:00
committed by GitHub
parent d7ad1f9ad9
commit 740e3cef9b
2 changed files with 12 additions and 14 deletions

View File

@@ -59,19 +59,18 @@
</div>
<div data-automation-id="adf-attach-widget-readonly-list">
<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"/>
<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"/>
<span matLine id="{{'file-'+file.id}}" (click)="onAttachFileClicked(file)" [matTooltip]="file.name" (keyup.enter)="onAttachFileClicked(file)"
tabindex="0" class="adf-file">{{file.name}}</span>
role="button" 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>

View File

@@ -49,8 +49,7 @@
*ngIf="showSelectProcessDropdown"
mat-icon-button
(click)="displayDropdown($event)"
[disabled]="disableDropdownButton()"
[attr.aria-label]="'ADF_PROCESS_LIST.START_PROCESS.FORM.LABEL.TYPE' | translate">
[disabled]="disableDropdownButton()">
<mat-icon>arrow_drop_down</mat-icon>
</button>
</ng-container>