-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material/radio): able to focus disabled radio button via click #15499
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
Conversation
Along the same lines as angular#15499. Fixes the slide toggle being focusable via click when it's disabled.
Along the same lines as angular#15499. Fixes the slide toggle being focusable via click when it's disabled.
Along the same lines as angular#15499. Fixes users being able to focus a disabled button toggle by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled.
) Along the same lines as #15499. Fixes the slide toggle being focusable via click when it's disabled.
) Along the same lines as #15499. Fixes the slide toggle being focusable via click when it's disabled.
As previously discussed, we should explore another way of dealing with the focus redirect for this component. |
Along the same lines as angular#15499. Fixes users being able to focus a disabled button toggle by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled.
2249e16
to
549e497
Compare
549e497
to
0792d7d
Compare
0792d7d
to
bb64336
Compare
@jelbourn do you remember the context behind figuring out a different approach to dealing with the focus redirect that you mentioned above? I think that this is still a problem which also ended up being transferred to the MDC-based radio button. I think that we should fix it, regardless of whether we decide to change the focus management afterwards. |
…tton via click We have an existing fix for the regular radio button at angular#15499, but since it hasn't been merged yet, it got transferred to the MDC-based one. Fixes users being able to focus a disabled radio button by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled.
…tton via click We have an existing fix for the regular radio button at angular#15499, but since it hasn't been merged yet, it got transferred to the MDC-based one. Fixes users being able to focus a disabled radio button by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled.
…tton via click (#18584) We have an existing fix for the regular radio button at #15499, but since it hasn't been merged yet, it got transferred to the MDC-based one. Fixes users being able to focus a disabled radio button by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled.
…tton via click (#18584) We have an existing fix for the regular radio button at #15499, but since it hasn't been merged yet, it got transferred to the MDC-based one. Fixes users being able to focus a disabled radio button by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled. (cherry picked from commit 7ba45d9)
Adding |
bb64336
to
3b9a7c8
Compare
Fixes users being able to focus a disabled radio button by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled. Fixes angular#15493.
3b9a7c8
to
ee208d4
Compare
Closing since this isn't necessary anymore, because we remove the |
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. |
Fixes users being able to focus a disabled radio button by clicking on it. The issue comes from us preserving the -1 tabindex, even if the button is disabled.
Fixes #15493.