Open
Description
Hi,
Would it be possible/make sense to allow the binding of labels to inputs for accessibility ... I'm not sure, given the fact that the input is actually hidden if that would be the wrong approach or not?
Anyway, if it's possible, then something like:
Do you like cheese?
as per: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
My suggestion is, that if you add an id tag your markup, it should get carried through into the attribute?
On that page, they also talk about implicit association between label & input, like this:
Do you like peas?
Any thoughts, suggestions or upgrades would be appreciated!
P.S. Should add, I'm using the library via the Vue version: https://hamed-ehtesham.github.io/pretty-checkbox-vue/#more
Thanks!
Metadata
Metadata
Assignees
Labels
No labels