Commit b533e61
authored
fix(material/slide-toggle): remove tabindex from host node (#23891)
The `tabindex="-1"` on the host node was causing VoicerOver to read out the slide toggle as a group and to read out the label twice. These changes remove the `tabindex` like we've done for `mat-radio` and `mat-checkbox` in the past.1 parent f69cf6c commit b533e61
File tree
4 files changed
+9
-40
lines changed- src
- material-experimental/mdc-slide-toggle
- material/slide-toggle
4 files changed
+9
-40
lines changedLines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | 290 | | |
301 | 291 | | |
302 | 292 | | |
| |||
397 | 387 | | |
398 | 388 | | |
399 | 389 | | |
400 | | - | |
| 390 | + | |
401 | 391 | | |
402 | 392 | | |
403 | 393 | | |
404 | 394 | | |
405 | 395 | | |
406 | | - | |
| 396 | + | |
407 | 397 | | |
408 | 398 | | |
409 | 399 | | |
| |||
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | 224 | | |
229 | | - | |
230 | 225 | | |
231 | 226 | | |
232 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | 321 | | |
332 | 322 | | |
333 | 323 | | |
| |||
410 | 400 | | |
411 | 401 | | |
412 | 402 | | |
413 | | - | |
| 403 | + | |
414 | 404 | | |
415 | 405 | | |
416 | 406 | | |
417 | 407 | | |
418 | 408 | | |
419 | | - | |
| 409 | + | |
420 | 410 | | |
421 | 411 | | |
422 | 412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 201 | + | |
208 | 202 | | |
209 | 203 | | |
210 | 204 | | |
| |||
0 commit comments