2 ms·
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
by wruza 2y ago
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.
- pirate3215 2y agoOne 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 https://a11ysupport.io/tests/html_label_element_implicit