Re: [WSG] label tag wrapping around checkbox

2005-05-23 Thread Lachlan Hardy

Peter Ottery wrote:

if you had part of a form that had a checkbox that when checked
enabled a file upload input, how would you mark that up?


G'day Pete

I think your wrapping of the labels is appropriate, but I'd probably 
include a fieldset to surround the lot - indicating their relationship 
to each other clearly



  Add a thumbnail image?

  

Add thumbnail image:
  
  
path to image:

  



Or something like that...

Cheers
Lachlan
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



[WSG] label tag wrapping around checkbox

2005-05-22 Thread Peter Ottery
sports fans,

if you had part of a form that had a checkbox that when checked
enabled a file upload input, how would you mark that up?

the result should look something like this:
http://skunkworks.farcrycms.com/wsg/label/label.gif

but i wasnt sure what the label tag/s would/should wrap around...

i'm thinking something like...



Add thumbnail image:


path to image:



...and then hide the "path to image" text in the css so its audible to
a screenreader - but maybe not needed otherwise.

thoughts welcome,
pete ottery
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**