mark aria headings (#5155)

This commit is contained in:
Cilibiu Bogdan
2019-10-15 17:23:55 +03:00
committed by Eugenio Romano
parent 210f1d8f59
commit 8bb8231a83
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<div class="adf-comments-container">
<div id="comment-header" class="adf-comments-header">
<div id="comment-header" class="adf-comments-header" role="heading">
{{'COMMENTS.HEADER' | translate: { count: comments?.length} }}
</div>
<div class="adf-comments-input-container" *ngIf="!isReadOnly()">

View File

@@ -1,5 +1,5 @@
<adf-info-drawer-layout>
<div *ngIf="title" info-drawer-title>{{ title | translate }}</div>
<div role="heading" aria-level="1" *ngIf="title" info-drawer-title>{{ title | translate }}</div>
<ng-content *ngIf="!title" info-drawer-title select="[info-drawer-title]"></ng-content>
<ng-content info-drawer-buttons select="[info-drawer-buttons]"></ng-content>