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
{{ message }}
Repository navigation
EuiSwitch needs aria-labelledby to connect checkbox with label #1027
Currently EuiSwitch will connect the label with the checkbox so long as you pass an ID. However, right now an ID is not required so it is possible to not have id and for connections. There's an old PR #779 that is supposed to create an ID if one isn't provided – the same way we handle id's in EuiFormRow.
Activity
cchaos commentedon Jul 19, 2018
Currently
EuiSwitchwill connect the label with the checkbox so long as you pass an ID. However, right now an ID is not required so it is possible to not haveidandforconnections. There's an old PR #779 that is supposed to create an ID if one isn't provided – the same way we handle id's inEuiFormRow.cjcenizal commentedon Jul 19, 2018
Awesome! That PR will close out this issue once it's in and we upgrade.