[thelist] why don't more sites use <label> tag?

Andrew Chadwick andrew.chadwick at prnewswire.co.uk
Mon Oct 22 09:35:45 CDT 2001


On Mon, Oct 22, 2001 at 01:36:51PM +0000, Peter-Paul Koch wrote:
> >>I was sufficiently interested to do some testing. It turns out that
> >>only Explorer does something with the LABEL tag, though presentation
> >>isn't messed up in other browsers.
> >
> >Actually, Mozilla and NS6 mangle the <label> tag when used with css
> >of any sort. The effects range from causing the label to display
> >block--even when display is set to inline, to causing the label and
> >form element to not display at all, which totally defeats any
> >accessibility benefits gained by using <label>
> 
> Thanks for the info. I tried display: block in my example and while NN6.1 
> showed it fine, Mozilla 0.9.5 hid the entire form, as you said.

Go and vote for: <http://bugzilla.mozilla.org/show_bug.cgi?id=96813>
and <http://bugzilla.mozilla.org/show_bug.cgi?id=100801>.

Hopefully the fixes mentioned'll make it into Mozilla 1.0. There's a
CSS-side workaround in the second bug report, and interesting talk of
the fix making it into the commercial branch.

-- 
Andrew Chadwick, UNIX/Internet Programmer, PR Newswire Europe, Oxford
--
The views or opinions above are solely mine and are not necessarily those
of PR Newswire Europe. The message may contain privileged or confidential
information; if you are not a named recipient, notify me, and do not copy,
use, or disclose this message. <andrew.chadwick at prnewswire.co.uk>.




More information about the thelist mailing list