Skip to content

Commit

Permalink
docs(toolbar): add aria-labels to icons in example (#15128)
Browse files Browse the repository at this point in the history
Fixes #15041
  • Loading branch information
Suresh918 authored and jelbourn committed Feb 14, 2019
1 parent 9acd7a7 commit aff565a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<mat-toolbar-row>
<span>Second Line</span>
<span class="example-spacer"></span>
<mat-icon class="example-icon">verified_user</mat-icon>
<mat-icon class="example-icon" aria-hidden="false" aria-label="Example user verified icon">verified_user</mat-icon>
</mat-toolbar-row>

<mat-toolbar-row>
<span>Third Line</span>
<span class="example-spacer"></span>
<mat-icon class="example-icon">favorite</mat-icon>
<mat-icon class="example-icon">delete</mat-icon>
<mat-icon class="example-icon" aria-hidden="false" aria-label="Example heart icon">favorite</mat-icon>
<mat-icon class="example-icon" aria-hidden="false" aria-label="Example delete icon">delete</mat-icon>
</mat-toolbar-row>
</mat-toolbar>

0 comments on commit aff565a

Please sign in to comment.