chore: add landmark elements to dev app (#14436)

Fixes the dev app not having landmark elements. This removes some of the noise when doing accessibility checks with aXe.
This commit is contained in:
Kristiyan Kostadinov
2018-12-12 00:01:13 +01:00
committed by vivian-hu
parent 3ad8b1a3af
commit cefff178ec
+3 -3
View File
@@ -1,5 +1,5 @@
<mat-sidenav-container class="demo-container">
<mat-sidenav #start>
<mat-sidenav #start role="navigation">
<mat-nav-list>
<a *ngFor="let navItem of navItems"
mat-list-item
@@ -22,7 +22,7 @@
</mat-nav-list>
<button mat-button tabindex="-1" (click)="start.close()">CLOSE</button>
</mat-sidenav>
<div>
<main>
<mat-toolbar color="primary">
<button mat-icon-button (click)="start.open('mouse')">
<mat-icon>menu</mat-icon>
@@ -45,5 +45,5 @@
<div #root="dir" dir="ltr" class="demo-content">
<router-outlet></router-outlet>
</div>
</div>
</main>
</mat-sidenav-container>