Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!ecngs!feeder2.ecngs.de!46.4.82.166.MISMATCH!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: element content change Date: Fri, 08 Aug 2014 18:48:36 +0200 Organization: solani.org Lines: 32 Message-ID: References: <87y4v2qtia.fsf@bsb.me.uk> <87ppgdo1di.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1407516509 13806 eJwFwYERgDAIA8CVUAiRcSS97D9C/5H9tFiNLhjm6sy/syaxJffEuOxCK8Ayxyfwfsqk4gIxfxFQ (8 Aug 2014 16:48:29 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 8 Aug 2014 16:48:29 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-User-ID: eJwNxMkRwDAIBLCWuBZwOYzD9l+Co4fgqXkrEhkgaELq/1gVHMLuc6O2t3x7IE6dr2fSx47HAw9CEKU= In-Reply-To: Cancel-Lock: sha1:SzGITP6S+Bw6aipvWgmelKU29PY= X-NNTP-Posting-Host: eJwFwYEBACAEBMCVEo/Gycv+I3QHdXGGOdwwmNTHBy5E7TCu1od7TzEmt4pmecsRT6GZdHwgbhDR X-Received-Bytes: 2518 X-Received-Body-CRC: 3060064293 Xref: csiph.com comp.lang.javascript:25654 Jukka K. Korpela wrote: > 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. Indeed, you're right. Thanks for the correction. FWIW: IE 7 still doesn't seem to support those "implicit associations" for text inputs. -- Christoph M. Becker