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
Affects accessibility as it forces consumer to put the "label" outside of the Toggle component, which result in the Toggle's button not having any descriptive content.
Example:
The text was updated successfully, but these errors were encountered:
Actually this might not be needed as we already have --leo-toggle-label-flex-direction and --leo-toggle-label-gap. Combined with width: 100%, I don't think we'd need much else. Perhaps we need to be able to customize justify-content.
Another thought on the topic of Toggle's accessibility is that it combines a <label> and a <button>, but the labelling content is not put inside the button, even though that is the main actionable element. Wouldn't it be more appropriate to put the labelling content inside the <button> and maybe also not have a <label>?
Affects accessibility as it forces consumer to put the "label" outside of the Toggle component, which result in the Toggle's button not having any descriptive content.
Example:
The text was updated successfully, but these errors were encountered: