-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(material/datepicker): Voiceover Loses Focus when pressing Page Down key #24330
Comments
@Splaktar I'm stumped on this one. I'm curious if you've come across anything similar to this? This seems vaguely familiar to problems we've had with setting focus and screenreader announcements when opening dialogs? My current theory, is that VoiceOver gets confused when the focused element is removed from the DOM, which causes it to focus on the entire table. |
…Down Do not merge this pls. Debugging issue angular#2430. There seems to be two issues 1. The screenreader focus doesn't not match the browser focus 2. the aria-live region is interfering with reading the focused element Adds a timeout to fix #1, and removes the aria-live region to fix angular#2. This is not the final solution, requires more investigation... Relates to angular#24330
After talking to @crisbeto , looks like the aria-live region is interfering with announcing the calendar body. I'll keep looking into this... |
It sounds like you are on the right track. I don't think that I recall any problems (or solutions) to something similar. |
…Down Do not merge this pls. Debugging issue angular#2430. There seems to be two issues 1. The screenreader focus doesn't not match the browser focus 2. the aria-live region is interfering with reading the focused element Adds a timeout to fix #1, and removes the aria-live region to fix angular#2. This is not the final solution, requires more investigation... Relates to angular#24330
Fixes an issue where Voiceover loses focus when pressing PageDown/PageUp in the calendar to go to the next month/year (issue angular#24330). Adding a 20ms timeout seems to fix this. Note that this will not fully fix the issue until angular#24397 is merged. Address angular#24330.
Fixes an issue where Voiceover loses focus when pressing PageDown/PageUp in the calendar to go to the next month/year (issue angular#24330). Adding a 20ms timeout seems to fix this. Note that this will not fully fix the issue until angular#24397 is merged. Address angular#24330.
Fixes an issue where Voiceover loses focus when pressing PageDown/PageUp in the calendar to go to the next month/year (issue angular#24330). Adding a 20ms timeout seems to fix this. Note that this will not fully fix the issue until angular#24397 is merged. Address angular#24330.
Fixes an issue where Voiceover loses focus when pressing PageDown/PageUp in the calendar to go to the next month/year (issue angular#24330). Adding a 20ms timeout seems to fix this. Note that this will not fully fix the issue until angular#24397 is merged. Address angular#24330.
Fixes an issue where Voiceover loses focus when pressing PageDown/PageUp in the calendar to go to the next month/year (issue angular#24330). Adding a 20ms timeout seems to fix this. Note that this will not fully fix the issue until angular#24397 is merged. Address angular#24330.
Fixes an issue where Voiceover loses focus when pressing PageDown/PageUp in the calendar to go to the next month/year (issue angular#24330). Adding a 20ms timeout seems to fix this. Note that this will not fully fix the issue until angular#24397 is merged. Address angular#24330.
Add a timeout before manually focusing cells on the calendar. This seems to fix an issue where Voiceover loses focus when pressing the PageDown/PageUp keys. Fixes angular#24330.
Add a timeout before manually focusing cells on the calendar. This seems to fix an issue where Voiceover loses focus when pressing the PageDown/PageUp keys. Fixes angular#24330.
Add a timeout before programatically focusing cells on the calendar. This seems to fix an issue where Voiceover loses focus when pressing the PageDown/PageUp keys. Fixes angular#24330.
…ular#24399) Add a timeout before programatically focusing cells on the calendar. This seems to fix an issue where Voiceover loses focus when pressing the PageDown/PageUp keys. Fixes angular#24330.
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. |
When navigating the calendar with VoiceOver enabled, pressing Page Down causes the screenreader focus to move to the entire calendar, instead of stay on an individual date.
Reproduction
Steps to reproduce:
Expected Behavior
Voiceover reads "February 28, 2022".
Actual Behavior
voiceover reads "February, 2022"
Environment
Operating System | macOS Monterey 12.1 (21C52)
Browser | Chrome Version 97.0.4692.99 (Official Build) (x86_64), Safari Version 15.3 (17612.4.9.1.5)
Screenreader | VoiceOver
jan-28-2022-.feb.mov
Additional Notes
This is copied from an internal bug report found during a11y testing.
The text was updated successfully, but these errors were encountered: