W3C home > Mailing lists > Public > www-html@w3.org > April 2008

Re: Radio and checkbox texts

From: Sebastian Mendel <lists@sebastianmendel.de>
Date: Thu, 24 Apr 2008 08:34:02 +0200
Message-ID: <481029DA.9020105@sebastianmendel.de>
To: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
CC: www-html@w3.org

Frank Ellermann schrieb:
> Jukka K. Korpela wrote:
>> The logical structure would be to put the input field
>> and its label inside a container, roughly as you can say
>> <label><input type="radio" name="x" value="1">option1</label>
>> at present, but the element namel "label" is quite
>> illogical. (E.g. "field" would be better.)
> 
> Related radio buttons in a <fieldset> work, example:
> 
> <fieldset><legend><!-- intentionally void --></legend>
>   <label title="world wide web">
>     <input type="radio" name="meta"
>            value="lr=lang_en|lang_de" checked="checked" />
>     <small> WWW </small> &#160;
>   </label>
>   <label title="only W3C">
>     <input type="radio" name="meta"
>            value="sitesearch=w3.org&amp;domains=w3.org" />
>     <small><a href="http://www.w3.org"> W3C </a></small> &#160;
>   </label>
> </fieldset>
> 
> That worked with Lynx and a Netscape 2.02 "mozilla 3", the
> titles had of course no effect, and the <legend> needed to
> be empty, otherwise Lynx would try to do something "smart".

why should this not work?
i do not see any relation between your example and Jukkas comment

-- 
Sebastian Mendel
Received on Thursday, 24 April 2008 06:32:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:13 GMT