Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: element content change Date: Thu, 07 Aug 2014 11:42:34 +0100 Organization: A noiseless patient Spider Lines: 31 Message-ID: <87egwsd1id.fsf@bsb.me.uk> References: <87y4v2qtia.fsf@bsb.me.uk> <87ppgdo1di.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="31599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Tj4rYFb1MvuFdOKBEH0Ttu4wqepwAWbI=" Cancel-Lock: sha1:rmNiMOWlUfsYcNGZlM2Mo4It5BI= sha1:tnQynNNIcXK3m3QrKL7e5ZVnNwg= X-BSB-Auth: 1.a96554f42d99e2a04c4f.20140807114234BST.87egwsd1id.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:25651 "Jukka K. Korpela" writes: > 2014-08-07 1:59, Christoph M. Becker wrote: > >> Jukka K. Korpela wrote: >> >>> >>> >>> So this is a valid way, and kept valid in HTML5, but not a logical way. >>> There is the practical impact that some old browsers do not support this >>> way (clicking on the label text does not focus on the control) but they >>> support the more logical way. >> >> Which browsers are you referring to? The oldest browser I'm aware of >> that is still in somewhat widespread use is IE 6, and that does properly >> handle this construct (at least in standards mode--I'm not concerned >> with quirks mode). > > According to my notes, IE 6 did not support "implicit association" and > support was added in IE 7. When I tested this long ago, I focused (no > pun intended) on checkboxes and radio buttons, for which the > accessibility effect is much more important. For what it's worth, my IE6 VM (which I never thought I'd bother with again!) behaves as you describe. -- Ben.