Commit 5c5e34a
authored
fix(material/form-field): fix duplicate announcement of form controls (#27102)
Fix duplicate screen reader announcement of form controls.
Remove the aria-owns from the form label. Commit
4191b4d added aria-owns on the label to
work around issue in JAWS and NVDA. That commit is from 2017, and it
appears the JAWS and NVDA issues have been fixed.
Tested on NVDA, JAWS and VoiceOver by verifying that I am able to read
the form field's label using screen reader. Tested on both Windows and
Firefox.
Testing environment:
- Windows 10 Enterprise Version 22H2
- Chrome Version 114.0.5735.199 (Official Build) (64-bit)
- Firefox 115.0 (64-bit)
- NVDA version 2022.3
- JAWS Verison 2020.2006.12 ILM
- MacOS 13.4.1 (22F82)
- VoiceOver
- Chrome Version 114.0.5735.198 (Official Build) (arm64)
- Firefox Version 114.0.2 (64-bit)
Fix #265831 parent ffffc82 commit 5c5e34a
File tree
4 files changed
+1
-40
lines changed- src/material
- chips
- datepicker
- form-field
- input
4 files changed
+1
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | 529 | | |
541 | 530 | | |
542 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 164 | | |
175 | 165 | | |
176 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | | - | |
23 | | - | |
| 19 | + | |
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 191 | | |
206 | 192 | | |
207 | 193 | | |
| |||
0 commit comments