-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
fix(material/select): adds cdkFocusTrap to attempt to make options focusable #29649
fix(material/select): adds cdkFocusTrap to attempt to make options focusable #29649
Conversation
A long time ago in #6856 we switched away from having focus on the options because it was problematic for VoiceOver on Safari. |
Deployed dev-app for 9b1fe05 to: https://ng-dev-previews-comp--pr-angular-components-29649-dev-jesz4k9p.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
84af25e
to
310bd74
Compare
…cuable Attempts to fix bug in Angular Components Select Component where the options in the listbox are not accessible/focusable on mobile. When swiping right to access the listbox the focus moves to the next focusable item rather than into the listbox of options. This fix adds cdkFocusTrap and cdkFocusAutoCapture to attempt to remedy that. Fixes b/285945157
…iveDescendant Updates previous fix to account for previous fix angular#6856 which refactored focus on listbox to use aria-activedescendant instead to manage focus. Fixes b/285945157
Updates previous fix to add useActiveDescendant=true to listbox in order to attempt to shift focus without using cdkFocusTrap. Fixes b/285945157
310bd74
to
9b1fe05
Compare
Closing this PR as this looks to be a bug outside of Angular Components' scope. |
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. |
Attempts to fix bug in Angular Components Select Component where the options in the listbox are not accessible/focusable on mobile. When swiping right to access the listbox the focus moves to the next focusable item rather than into the listbox of options. This fix adds cdkFocusTrap and cdkFocusAutoCapture to attempt to remedy that.
Fixes b/285945157