-
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
fix(radio): host element unable to receive focus events #13956
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In angular#13323 we started clearing the `tabindex` from the `host` element in order to avoid having two elements with the same `tabindex` when the consumer sets a custom `tabindex`. As a result, the `mat-radio-button` can no longer receive focus and forward it to the `input`. These changes always reset the `tabindex` to -1 so the element is focusable, but not tabbable. Fixes angular#13953.
e91f0a1
to
3cf228d
Compare
In #13323 we started clearing the `tabindex` from the `host` element in order to avoid having two elements with the same `tabindex` when the consumer sets a custom `tabindex`. As a result, the `mat-radio-button` can no longer receive focus and forward it to the `input`. These changes always reset the `tabindex` to -1 so the element is focusable, but not tabbable. Fixes #13953.
…)" This reverts commit 41eb27e.
…)" This reverts commit 41eb27e.
…from ListKeyManager" (#14467) * Revert "build: update sauce connect (#14422)" This reverts commit bc563b7. * Revert "build: changelog script not filtering duplicate entries (#14421)" This reverts commit fe46290. * Revert "build: update to angular 7.1.2 (#14418)" This reverts commit e1487df. * Revert "refactor(drag-drop): move logic out of directives (#14350)" This reverts commit 19f9bca. * Revert "fix(checkbox): redirect focus to underlying input element (#13959)" This reverts commit e0eb3df. * Revert "fix(radio): host element unable to receive focus events (#13956)" This reverts commit 41eb27e. * Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager (#14407)" This reverts commit 014dc79.
) * Revert "Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager" (#14467)" This reverts commit 8f790f5. * Revert "build: update sauce connect (#14422)" This reverts commit bc563b7. * Revert "build: changelog script not filtering duplicate entries (#14421)" This reverts commit fe46290. * Revert "build: update to angular 7.1.2 (#14418)" This reverts commit e1487df. * Revert "refactor(drag-drop): move logic out of directives (#14350)" This reverts commit 19f9bca. * Revert "fix(checkbox): redirect focus to underlying input element (#13959)" This reverts commit e0eb3df. * Revert "fix(radio): host element unable to receive focus events (#13956)" This reverts commit 41eb27e.
…from ListKeyManager" (#14467) * Revert "build: update sauce connect (#14422)" This reverts commit bc563b7. * Revert "build: changelog script not filtering duplicate entries (#14421)" This reverts commit fe46290. * Revert "build: update to angular 7.1.2 (#14418)" This reverts commit e1487df. * Revert "refactor(drag-drop): move logic out of directives (#14350)" This reverts commit 19f9bca. * Revert "fix(checkbox): redirect focus to underlying input element (#13959)" This reverts commit e0eb3df. * Revert "fix(radio): host element unable to receive focus events (#13956)" This reverts commit 41eb27e. * Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager (#14407)" This reverts commit 014dc79.
) * Revert "Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager" (#14467)" This reverts commit 8f790f5. * Revert "build: update sauce connect (#14422)" This reverts commit bc563b7. * Revert "build: changelog script not filtering duplicate entries (#14421)" This reverts commit fe46290. * Revert "build: update to angular 7.1.2 (#14418)" This reverts commit e1487df. * Revert "refactor(drag-drop): move logic out of directives (#14350)" This reverts commit 19f9bca. * Revert "fix(checkbox): redirect focus to underlying input element (#13959)" This reverts commit e0eb3df. * Revert "fix(radio): host element unable to receive focus events (#13956)" This reverts commit 41eb27e.
In angular#13323 we started clearing the `tabindex` from the `host` element in order to avoid having two elements with the same `tabindex` when the consumer sets a custom `tabindex`. As a result, the `mat-radio-button` can no longer receive focus and forward it to the `input`. These changes always reset the `tabindex` to -1 so the element is focusable, but not tabbable. Fixes angular#13953.
…from ListKeyManager" (angular#14467) * Revert "build: update sauce connect (angular#14422)" This reverts commit bc563b7. * Revert "build: changelog script not filtering duplicate entries (angular#14421)" This reverts commit fe46290. * Revert "build: update to angular 7.1.2 (angular#14418)" This reverts commit e1487df. * Revert "refactor(drag-drop): move logic out of directives (angular#14350)" This reverts commit 19f9bca. * Revert "fix(checkbox): redirect focus to underlying input element (angular#13959)" This reverts commit e0eb3df. * Revert "fix(radio): host element unable to receive focus events (angular#13956)" This reverts commit 41eb27e. * Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager (angular#14407)" This reverts commit 014dc79.
…ular#14468) * Revert "Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager" (angular#14467)" This reverts commit 8f790f5. * Revert "build: update sauce connect (angular#14422)" This reverts commit bc563b7. * Revert "build: changelog script not filtering duplicate entries (angular#14421)" This reverts commit fe46290. * Revert "build: update to angular 7.1.2 (angular#14418)" This reverts commit e1487df. * Revert "refactor(drag-drop): move logic out of directives (angular#14350)" This reverts commit 19f9bca. * Revert "fix(checkbox): redirect focus to underlying input element (angular#13959)" This reverts commit e0eb3df. * Revert "fix(radio): host element unable to receive focus events (angular#13956)" This reverts commit 41eb27e.
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. |
In #13323 we started clearing the
tabindex
from thehost
element in order to avoid having two elements with the sametabindex
when the consumer sets a customtabindex
. As a result, themat-radio-button
can no longer receive focus and forward it to theinput
. These changes always reset thetabindex
to -1 so the element is focusable, but not tabbable.Fixes #13953.