3 ms·
Other than making the site more usable for people that can see, the label tag can also make the site more usable for blind people or anyone using screen readers
by weaksauce 18y ago
Other than making the site more usable for people that can see, the label tag can also make the site more usable for blind people or anyone using screen readers. When you associate the label with a input field then the screen reader will know what to read for a particular input field. This is accomplished by adding a for="idOfInputField" to the label.