[thelist] accessible way to indicate that a form field is required

kasimir-k kasimir.k.lists at gmail.com
Fri Nov 17 09:39:57 CST 2006

Julian Rickards scribeva in 17/11/2006 13:29:
> However, all this aside, I am not convinced that CSS is the medium through
> which you should indicate that a particular field is required. 

Maybe not CSS as such, but class: <input class="required" ...>

And then use CSS to give it appropriate presentation on various kinds of 
user agents. Using class attribute in a semantically meaningful way can 
not be a bad thing, can it?


More information about the thelist mailing list