New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(Datepicker): In multi-year view, date picker doesnt announce selected year range #28360
Comments
Hello, thank you for reporting. I can reproduce on NVDA with Firefox, but not on Chrome. Triaging as a Datepicker issue. Environment
-Zach |
Hi @zarend, it doesn't happen for NVDA indeed, but I was able to reproduce below with JAWS + Chrome/Firefox.
Pressed enter multiple times in this place, but year range is not announced. |
…'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 angular#28360
…'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 angular#28360
…'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 angular#28360
…r doesn't announce selected year range Adds comment in html file to connect the filed Firefox issue with the workaround. Fixes angular#28360
…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
…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)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Is this a regression?
The previous version in which this bug was not present was
14.2.7
Description
Steps to reproduce:
Reproduction
Can be reproduced on documentation page: https://material.angular.io/components/datepicker/overview#accessibility with basic datepicker example (first one)
I checked it for versions 17.0.4 and 16.2.12, 15.2.9, 14.2.7 and 12.2.13
I used NVDA, Jaws, Firefox, Chrome
Expected Behavior
Related to Repro step no. 3: Announce change of year range.
Related to Repro step no. 4: Announce '1992 to 2015'
Actual Behavior
Related to Repro step no. 3: Visual changes should be announced to the user. This doesn't happen since version 15.
Happens for both JAWS/NVDA and Chrome/Firefox
Related to Repro step no. 4: its announcing previous range '2016 to 2039', instead announcing '1992 to 2015' according to displayed label. This happens for Firefox only.
Environment
The text was updated successfully, but these errors were encountered: