Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!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: Wed, 06 Aug 2014 20:37:45 +0100 Organization: A noiseless patient Spider Lines: 20 Message-ID: <87ppgdo1di.fsf@bsb.me.uk> References: <87y4v2qtia.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="23751"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MLn2NkvZIijY/5jkTecfUiHHAYcNChYs=" Cancel-Lock: sha1:uo1U19ON5xkp0UeKBNxFFlTnIQA= sha1:XGu3mjiEuebl5EWda/7kb8J5+R0= X-BSB-Auth: 1.5e467f526cc82ec5e62e.20140806203745BST.87ppgdo1di.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:25644 "Christoph M. Becker" writes: > ACK. Or maybe better: > >
That looks logically wrong to me -- a label should not include the thing it labels. My only back-up is the examples in[1], which all show the control outside, with the label element containing just, well, the label. > as Yukka already suggested. He seemed to be making a different point, though always including some text in the label was part of it. [1] http://www.w3.org/TR/html401/interact/forms.html#edef-LABEL -- Ben.