Skip to content

Commit cb7d3b9

Browse files
Suresh918jelbourn
authored andcommitted
docs(button-toggle): add aria-labels to examples (#15114)
Fixes #14999
1 parent d410044 commit cb7d3b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/material-examples/button-toggle-exclusive/button-toggle-exclusive-example.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<mat-button-toggle-group #group="matButtonToggleGroup">
2-
<mat-button-toggle value="left">
2+
<mat-button-toggle value="left" aria-label="Text align left">
33
<mat-icon>format_align_left</mat-icon>
44
</mat-button-toggle>
5-
<mat-button-toggle value="center">
5+
<mat-button-toggle value="center" aria-label="Text align center">
66
<mat-icon>format_align_center</mat-icon>
77
</mat-button-toggle>
8-
<mat-button-toggle value="right">
8+
<mat-button-toggle value="right" aria-label="Text align right">
99
<mat-icon>format_align_right</mat-icon>
1010
</mat-button-toggle>
11-
<mat-button-toggle value="justify" disabled>
11+
<mat-button-toggle value="justify" disabled aria-label="Text align justify">
1212
<mat-icon>format_align_justify</mat-icon>
1313
</mat-button-toggle>
1414
</mat-button-toggle-group>

0 commit comments

Comments
 (0)