W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Re: advice sought for design of a search facility for a sub-site

From: Chris Croome <chris@webarchitects.co.uk>
Date: Tue, 22 Jan 2002 16:56:50 +0000
To: w3c-wai-ig@w3.org
Message-ID: <20020122165650.GC1409@webarchitects.co.uk>
Hi

Personally I have generally been using select elements as I thought they
were more accessible for this kind of thing.

On Tue 22-Jan-2002 at 04:12:25 -0000, EDixon@rnib.org.uk wrote:
> 
> http://info.rnib.org.uk/script/wai/radio.html

If you use the label element in your form like this:

  <label for="rad1">Online Shop</label>
  <input type="radio" name="radiobutton" id="rad1" value="radiobutton">
  <label for="rad2">RNIB</label>
  <input type="radio" name="radiobutton" id="rad2" value="radiobutton">

Then browsers such as mozilla allow clicking on the text of the label to
activate the radio button.

Chris

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
everything else                               http://chris.croome.net/  
Received on Tuesday, 22 January 2002 11:56:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:00 GMT