3 ms·
My suggestion is to make picnic work with `label` elements that are outside the `input` they related to. In other words, the CSS should work for this HTML
by gioele 12y ago
My suggestion is to make picnic work with `label` elements that are outside the `input` they related to.
In other words, the CSS should work for this HTML
<input type="checkbox" id="checkable" />
<label class="button" for="checkable">Checkable</label>
instead of the unidiomatic (and broken from the POW of accessibility)
<label class="button">
<input type="checkbox" />
<span>Checkable</span>
</label>
- franciscop 12y agoThis was considered, but I decided against it in the end. However, I've found a solution that would work with both html and will upload it soon.