Commit ee49922
authored
fix(material/autocomplete): avoid assigning invalid aria-labelledby values (angular#22261)
* Fixes that we assign `aria-labelledby` even if there is no label.
* Fixes that we don't trim the value of `aria-labelledby` when there is no label, but
there is a custom `aria-labelledby`.
Fixes angular#22256.1 parent 7718947 commit ee49922
File tree
5 files changed
+53
-6
lines changed- src
- material-experimental/mdc-autocomplete
- material/autocomplete
- tools/public_api_guard/material
5 files changed
+53
-6
lines changedLines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
1516 | 1528 | | |
1517 | 1529 | | |
1518 | 1530 | | |
| |||
1524 | 1536 | | |
1525 | 1537 | | |
1526 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1527 | 1550 | | |
1528 | 1551 | | |
1529 | 1552 | | |
| |||
2762 | 2785 | | |
2763 | 2786 | | |
2764 | 2787 | | |
2765 | | - | |
| 2788 | + | |
2766 | 2789 | | |
2767 | 2790 | | |
2768 | 2791 | | |
| |||
2795 | 2818 | | |
2796 | 2819 | | |
2797 | 2820 | | |
| 2821 | + | |
2798 | 2822 | | |
2799 | 2823 | | |
2800 | 2824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
| 577 | + | |
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
1503 | 1514 | | |
1504 | 1515 | | |
1505 | 1516 | | |
| |||
1510 | 1521 | | |
1511 | 1522 | | |
1512 | 1523 | | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
1513 | 1534 | | |
1514 | 1535 | | |
1515 | 1536 | | |
| |||
2760 | 2781 | | |
2761 | 2782 | | |
2762 | 2783 | | |
| 2784 | + | |
2763 | 2785 | | |
2764 | 2786 | | |
2765 | | - | |
2766 | 2787 | | |
2767 | 2788 | | |
2768 | 2789 | | |
| |||
2792 | 2813 | | |
2793 | 2814 | | |
2794 | 2815 | | |
| 2816 | + | |
2795 | 2817 | | |
2796 | 2818 | | |
2797 | 2819 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
| 267 | + | |
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments