Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
marcosdumay
1y ago
0 comments
Share
AFAIK, the only reason to use the label's `for` is when you want to place it in a different place from the widget.
undefined | Better HN
0 comments
default
newest
oldest
emsimot
1y ago
It also helps with accessibility, screen readers etc
marcosdumay
OP
1y ago
Not compared to including the widget inside the label.
j
/
k
navigate · click thread line to collapse