docs(chips): add aria-labels to examples (#15167)

Fixes #15010
This commit is contained in:
Suresh918
2019-02-23 02:28:03 +08:00
committed by Jeremy Elbourn
parent 1bc8bc4b91
commit 0bf7ccbde8
4 changed files with 4 additions and 4 deletions
@@ -1,5 +1,5 @@
<mat-form-field class="example-chip-list">
<mat-chip-list #chipList>
<mat-chip-list #chipList aria-label="Fruit selection">
<mat-chip
*ngFor="let fruit of fruits"
[selectable]="selectable"
@@ -1,5 +1,5 @@
<mat-form-field class="example-chip-list">
<mat-chip-list #chipList>
<mat-chip-list #chipList aria-label="Fruit selection">
<mat-chip *ngFor="let fruit of fruits" [selectable]="selectable"
[removable]="removable" (removed)="remove(fruit)">
{{fruit.name}}
@@ -1,4 +1,4 @@
<mat-chip-list>
<mat-chip-list aria-label="Fish selection">
<mat-chip>One fish</mat-chip>
<mat-chip>Two fish</mat-chip>
<mat-chip color="primary" selected>Primary fish</mat-chip>
@@ -1,4 +1,4 @@
<mat-chip-list class="mat-chip-list-stacked">
<mat-chip-list class="mat-chip-list-stacked" aria-label="Color selection">
<mat-chip *ngFor="let chip of availableColors" selected [color]="chip.color">
{{chip.name}}
</mat-chip>