ACS-3545 a 11 y aca metadata sidebar (#7923)

* ACS-3545 Fixed accessibility issues for metadata sidebar
This commit is contained in:
AleksanderSklorz
2022-11-02 21:40:14 +01:00
committed by GitHub
parent 3dde18fbd2
commit 13fe6fb07a
16 changed files with 56 additions and 41 deletions

View File

@@ -5,8 +5,8 @@
[expanded]="canExpandProperties()"
[attr.data-automation-id]="'adf-metadata-group-properties'">
<mat-expansion-panel-header>
<mat-panel-title role="heading">
{{ 'CORE.METADATA.BASIC.HEADER' | translate }}
<mat-panel-title>
<h1 class="adf-metadata-properties-title">{{ 'CORE.METADATA.BASIC.HEADER' | translate }}</h1>
</mat-panel-title>
</mat-expansion-panel-header>
<adf-card-view
@@ -47,7 +47,8 @@
</div>
</ng-container>
<ng-template #loading>
<mat-progress-bar mode="indeterminate"></mat-progress-bar>
<mat-progress-bar mode="indeterminate" [attr.aria-label]="'CORE.METADATA.BASIC.DATA_LOADING' | translate">
</mat-progress-bar>
</ng-template>
</ng-container>
</mat-accordion>

View File

@@ -7,6 +7,11 @@
mat-expansion-panel-header {
height: 64px;
.adf-metadata-properties-title {
font-weight: normal;
font-size: 15px;
}
}
.mat-expansion-panel:not([class*='mat-elevation-z']) {