[thelist] Is this a list?
Jeff Howden
jeff at jeffhowden.com
Tue Sep 27 11:36:35 CDT 2005
Aardvark,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: aardvark
>
> > > except IE blows that away by not properly supporting
> > > it...
> >
> > Sorry, but IE on Windows supports label with for="id"
> > absolutely fine. What issues are you referring to?
>
> you are correct as long as a 'for' attribute is
> included... i was not clear, but what i was referring
> to was using the <label> to wrap both the form element
> and its text without the 'for' attribute...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
An explicit binding is better than an implicit one though, whether for
browsers or future maintenance.
Honestly, I can't think of a time/place where I'd ever want to specifically
use an implicit binding where an explicit one wouldn't get the job done just
as well (browser support aside).
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> and somewhat related, IE/win does not dig using an <img>
> within a <label>, it just won't work properly...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
Oh, but it *can* work, if you just tell it what to do.
http://jeffhowden.com/code/javascript/label_img/
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> another note about <label> is that many people will
> often use them on <select>s, which in IE, has the
> unfortunate tendency to reset the value to its initial
> value...
>
> i have found through testing that this can be a big
> problem for accessibility when users are tabbing
> through forms...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
Though I can't check this as I'm on the train right now, I believe that if
you validate a document with a <label> bound to a <select>, the validator
will throw an error.
[>] Jeff Howden
jeff at jeffhowden.com
http://jeffhowden.com/
More information about the thelist
mailing list