mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ACS-3553] Fix process page accessibility from csv(880320,880281) (#8017)
* [ACS-3553] Fix process page accessibility from csv(880320,880281) * [ACS-3553] Addressed comment
This commit is contained in:
parent
dea5f21894
commit
d7ad1f9ad9
@ -59,18 +59,19 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div data-automation-id="adf-attach-widget-readonly-list">
|
<div data-automation-id="adf-attach-widget-readonly-list">
|
||||||
<mat-list *ngIf="hasFile">
|
<mat-list *ngIf="hasFile" role="list">
|
||||||
<mat-list-item class="adf-attach-files-row" *ngFor="let file of field.value">
|
<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"
|
<img mat-list-icon class="adf-attach-widget__icon"
|
||||||
[id]="'file-'+file.id+'-icon'"
|
[id]="'file-'+file.id+'-icon'"
|
||||||
[src]="file.content ? getIcon(file.content.mimeType) : getIcon(file.mimeType)"
|
[src]="file.content ? getIcon(file.content.mimeType) : getIcon(file.mimeType)"
|
||||||
[alt]="mimeTypeIcon"
|
[alt]="mimeTypeIcon"
|
||||||
(click)="onAttachFileClicked(file)"
|
(click)="onAttachFileClicked(file)"
|
||||||
(keyup.enter)="onAttachFileClicked(file)"
|
(keyup.enter)="onAttachFileClicked(file)"
|
||||||
role="button"
|
role="img"
|
||||||
|
[attr.aria-label]="file.name"
|
||||||
tabindex="0"/>
|
tabindex="0"/>
|
||||||
<span matLine id="{{'file-'+file.id}}" (click)="onAttachFileClicked(file)" [matTooltip]="file.name" (keyup.enter)="onAttachFileClicked(file)"
|
<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"
|
<button id="{{'file-'+file.id+'-option-menu'}}" mat-icon-button [matMenuTriggerFor]="fileActionMenu"
|
||||||
[attr.aria-label]="'ADF_PROCESS_LIST.DETAILS.BUTTON.FILE_OPTION_MENU' | translate">
|
[attr.aria-label]="'ADF_PROCESS_LIST.DETAILS.BUTTON.FILE_OPTION_MENU' | translate">
|
||||||
<mat-icon>more_vert</mat-icon>
|
<mat-icon>more_vert</mat-icon>
|
||||||
|
@ -49,7 +49,8 @@
|
|||||||
*ngIf="showSelectProcessDropdown"
|
*ngIf="showSelectProcessDropdown"
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
(click)="displayDropdown($event)"
|
(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>
|
<mat-icon>arrow_drop_down</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user