[ACS-3549] Manage Versions Dialog (#7858)

* Fix: Button have descernible text, banner landmark, contentinfo landmar issue

* change title in version list component
This commit is contained in:
rbahirsheth 2022-10-06 13:48:13 +05:30 committed by GitHub
parent 746d8031cd
commit af2881f3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

@ -20,7 +20,8 @@
"MESSAGE": "Deleted file versions cannot be restored. Continue?",
"YES_LABEL": "Yes",
"NO_LABEL": "No"
}
},
"MANAGE_VERSION_OPTIONS": "Manage version options"
},
"ADF-NEW-VERSION-UPLOADER": {
"DIALOG_LIST": {

View File

@ -1,4 +1,4 @@
<header mat-dialog-title>{{ title | translate }}</header>
<div mat-dialog-title>{{ title | translate }}</div>
<section mat-dialog-content *ngIf="!data.showVersionsOnly">
<adf-version-comparison id="adf-version-comparison" [newFileVersion]="data.file" [node]="data.node"></adf-version-comparison>
<adf-version-upload
@ -26,8 +26,8 @@
></adf-version-list>
</div>
</div>
</section>
<footer mat-dialog-actions>
<button mat-button color="primary" [mat-dialog-close]="true">{{ 'ADF-NEW-VERSION-UPLOADER.DIALOG_LIST.CLOSE' | translate }}</button>
</footer>
</section>
</ng-container>
<div mat-dialog-actions>
<button mat-button color="primary" [mat-dialog-close]="true">{{ 'ADF-NEW-VERSION-UPLOADER.DIALOG_LIST.CLOSE' | translate }}</button>
</div>

View File

@ -42,7 +42,7 @@
</button>
</mat-menu>
<button mat-icon-button [matMenuTriggerFor]="versionMenu" [id]="'adf-version-list-action-menu-button-'+version.entry.id">
<button mat-icon-button [matMenuTriggerFor]="versionMenu" [id]="'adf-version-list-action-menu-button-'+version.entry.id" title="{{ 'ADF_VERSION_LIST.MANAGE_VERSION_OPTIONS' | translate }}">
<mat-icon>more_vert</mat-icon>
</button>
</div>