Commit ec6f8e2
fix(material/datepicker): datepicker doesn't announce newly selected range in firefox (#28529)
* fix(material/datepicker): multi-year view changes in datepicker doesn't announce selected year range
Fixes a bug in the Angular Material component where when the selected year range is
updated by moving foward to the next range or by moving to the previous range the screenreader
announces the original date range rather than the newly selected date range. This because the
class was removing the new value from the Firefox accessibility tree.
Fixes #28360
* !fixup fix(material/datepicker): multi-year view changes in datepicker doesn't announce selected year range
Adds comment in html file to connect the filed Firefox issue with the workaround.
Fixes #28360
(cherry picked from commit c72add6)1 parent 5c8feac commit ec6f8e2
2 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
0 commit comments