input labels should be associated by default
stephenmathieson opened this issue · 3 comments
stephenmathieson commented
using this library creates accessibility problems with inputs. seems like we can pass id=
to the input to fix this, but 9/10 times we don't need ids on our inputs. any chance deku-forms could do something like:
const inputId = input.id || generateRandomId()
so that this always works?
dominicbarnes commented
Funny you should mention that, I considering doing that over the weekend when I was working on something else. It shouldn't be that hard to accomplish.
dominicbarnes commented
This is now the case in v1.7.0
stephenmathieson commented
awesome, thanks dude!