[ACS-4051] 880283, 880284, 880285 Critical CSV issues buttons must have discernible text fixed (#8001)

* 880283, 880284, 880285 buttons must have discernible text issue fixed

* addressed review comments
This commit is contained in:
jatin2008 2022-11-23 19:00:34 +05:30 committed by GitHub
parent 665d7c32df
commit 14ba15a072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@
<th mat-header-cell *matHeaderCellDef></th>
<td mat-cell *matCellDef="let element">
<button id="{{'file-'+element?.id+'-option-menu'}}" mat-icon-button [matMenuTriggerFor]="fileActionMenu"
*ngIf="!!element.content?.mimeType">
*ngIf="!!element.content?.mimeType" [attr.aria-label]="'ADF_PROCESS_LIST.DETAILS.BUTTON.FILE_OPTION_MENU' | translate">
<mat-icon>more_vert</mat-icon>
</button>
<mat-menu #fileActionMenu="matMenu" xPosition="before">

View File

@ -71,7 +71,8 @@
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>
<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">
<mat-icon>more_vert</mat-icon>
</button>
<mat-menu #fileActionMenu="matMenu" xPosition="before">

View File

@ -226,7 +226,8 @@
"CLOSE": "Close",
"SHOW_DIAGRAM": "Show Diagram",
"DRAG-ATTACHMENT": "Drop files to upload",
"UPLOAD-ATTACHMENT": "Upload Attachment"
"UPLOAD-ATTACHMENT": "Upload Attachment",
"FILE_OPTION_MENU": "File Option Menu"
},
"MESSAGES": {
"NONE": "No process details found"