Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wrapping input into a label also works. Not sure why people tend to separate the two.

And also why browsers started separting these. It’s a checkbox and radio that should contain a text, not vice versa.



One reason I have heard about is implicit labelling doesn't work with all voice control tech, including macOS voice control[1]

[1] https://a11ysupport.io/tests/html_label_element_implicit




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: