News for hackers. Stuff that matters.
Re:FormKit: Form building framework for Vue 3 by KronisLV on Friday May 13, 2022 @04:16PM (#31372099)
It does appear to do that for me in their example on the homepage (desktop Firefox), though?

Doesn't this happen by default in most cases where a regular <label/> is used?

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/la...

> When a user clicks or touches/taps a label, the browser passes the focus to its associated input (the resulting event is also raised for the input). That increased hit area for focusing the input provides an advantage to anyone trying to activate it — including those using a touch-screen device.

Re:FormKit: Form building framework for Vue 3 by pupppet on Friday May 13, 2022 @06:11PM (#31373060)
It only occurs when you use the label's for attribute to manually associate the label with the input, or wrap both the label text and the input in the same label.