Re:Obscure HTML tags that you should know and even use
by weaksauce on Saturday February 14, 2009 @12:32PM
(#481248)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.