You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use "tab" for switching between buttons and inputs, the hidden checkbox input .react-toggle-screenreader-only is focusable, but I can't handle this state.
I suggest one of following (or both allowing to choose the one from these):
Add tabIndex="-1" to this checkbox, so the whole toggle become not focusable.
(Better) Add ...-focus or ...-active or similar class to .react-toggle-track or .react-toggle when this checkbox is in focus, so I can style the focus state of the toggle.
The one more step should be add role="switch" to .react-toggle
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
when I use "tab" for switching between buttons and inputs, the hidden checkbox input
.react-toggle-screenreader-only
is focusable, but I can't handle this state.I suggest one of following (or both allowing to choose the one from these):
tabIndex="-1"
to this checkbox, so the whole toggle become not focusable....-focus
or...-active
or similar class to.react-toggle-track
or.react-toggle
when this checkbox is in focus, so I can style the focus state of the toggle.The one more step should be add
role="switch"
to.react-toggle
Thanks.
The text was updated successfully, but these errors were encountered: