Steps to replicate the issue (include links if applicable):
- Go to https://doc.wikimedia.org/codex/latest/components/demos/toggle-switch.html#css-only-version
- Try to toggle the switches by clicking on them
- Try to toggle the switches by clicking on their labels
What happens?:
- Clicking on the labels causes the switches to toggle, but clicking on the toggles themselves does nothing
- Clicking on the label for the second ("initially on") switch toggles the first switch
What should have happened instead?:
The CSS-only and Vue versions should behave the same: clicking either the labels or the switches should toggle. Clicking the label for a given switch should toggle that switch, not a different one.