-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility and Labeling #81
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!
The text was updated successfully, but these errors were encountered: