Skip to content

Commit 6f3c2de

Browse files
Suresh918jelbourn
authored andcommitted
docs(form-field): add aria-labels to form examples (#15130)
Fixes #15024
1 parent 2a086ce commit 6f3c2de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div [formGroup]="parts" class="example-tel-input-container">
2-
<input class="example-tel-input-element" formControlName="area" size="3" (input)="_handleInput()">
2+
<input class="example-tel-input-element" formControlName="area" size="3" aria-label="Area code" (input)="_handleInput()">
33
<span class="example-tel-input-spacer">&ndash;</span>
4-
<input class="example-tel-input-element" formControlName="exchange" size="3" (input)="_handleInput()">
4+
<input class="example-tel-input-element" formControlName="exchange" size="3" aria-label="Exchange code" (input)="_handleInput()">
55
<span class="example-tel-input-spacer">&ndash;</span>
6-
<input class="example-tel-input-element" formControlName="subscriber" size="4" (input)="_handleInput()">
6+
<input class="example-tel-input-element" formControlName="subscriber" size="4" aria-label="Subscriber number" (input)="_handleInput()">
77
</div>

0 commit comments

Comments
 (0)