Make toggle switch labels clickable
Enable clicking on toggle switch labels on the Set up a Webhook and Board Settings pages:
There should be only one label per input. To avoid having to generate the ID, you can simply wrap the input inside the label and everything will be clickable. The element for screen readers should also remain inside the label in that case.
Nice improvement, @nqst! After wrapping the control in a label like @brunoprietog suggested, I'd also recommend adding pointer: cursor; to the .switch class so it's a little more clear that the text is clickable when using a mouse.
Thanks for the helpful feedback, @brunoprietog @andyra! I've addressed everything.