2 ms·
AFAIK, the only reason to use the label's `for` is when you want to place it in a different place from the widget.
by marcosdumay 2y ago
AFAIK, the only reason to use the label's `for` is when you want to place it in a different place from the widget.
- emsimot 2y agoIt also helps with accessibility, screen readers etc
- marcosdumay 2y agoNot compared to including the widget inside the label.