[ADF-4962] Move or copy - Visual heading text - mark as a heading (#5163)

This commit is contained in:
Suzana Dirla 2019-10-16 17:28:46 +03:00 committed by Denys Vuika
parent 2f1a5943b6
commit e229ae820f
3 changed files with 8 additions and 2 deletions

View File

@ -34,7 +34,7 @@
<adf-toolbar>
<adf-toolbar-title>
<ng-container *ngIf="!showBreadcrumbs()">
<span class="adf-search-results-label">{{ 'NODE_SELECTOR.SEARCH_RESULTS' | translate }}</span>
<span role="heading" aria-level="3" class="adf-search-results-label">{{ 'NODE_SELECTOR.SEARCH_RESULTS' | translate }}</span>
</ng-container>
<adf-dropdown-breadcrumb *ngIf="showBreadcrumbs()"
class="adf-content-node-selector-content-breadcrumb"

View File

@ -1,6 +1,7 @@
<header
mat-dialog-title
data-automation-id="content-node-selector-title">{{data?.title}}
data-automation-id="content-node-selector-title">
<h2>{{data?.title}}</h2>
</header>
<mat-dialog-content>

View File

@ -15,6 +15,11 @@
line-height: 1.6;
letter-spacing: -0.5px;
color: mat-color($foreground, text, 0.87);
h2 {
margin: unset;
font-size: unset;
}
}
.mat-dialog-container {