[WSG] select as form label

2004-10-21 Thread Nick Lo
Hello, This example below... p label class=blank for=input_phone_1 select name=input_phone_1_type id=input_phone_1_type option value=Please Select/option option value=work selected=selectedwork/option option value=homehome/option option

Re: [WSG] select as form label

2004-10-21 Thread Patrick H. Lauke
Nick Lo wrote: So my question is really; is the label around a select element essentially pointless? Labels are a good thing, both from an accessibility and usability point of view. So no, not pointless at all. Read http://www.webaim.org/techniques/forms/2#labels for a soft introduction on

Re: [WSG] select as form label

2004-10-21 Thread Nick Gleitzman
On 22 Oct 2004, at 10:15 AM, Nick Lo wrote: p label class=blank for=input_phone_1 select name=input_phone_1_type id=input_phone_1_type option value=Please Select/option option value=work selected=selectedwork/option option value=homehome/option option

Re: [WSG] select as form label

2004-10-21 Thread Nick Lo
Hi Patrick, Thanks for your response, unfortunately that wasn't my question though I realise at a glance it's how my question read. It was specifically referring to this type of instance... p label class=blank for=input_phone_1 select name=input_phone_1_type id=input_phone_1_type

Re: [WSG] select as form label

2004-10-21 Thread Mike Brown
Nick Lo wrote: Thanks for your response, unfortunately that wasn't my question though I realise at a glance it's how my question read. It was specifically referring to this type of instance... p label class=blank for=input_phone_1 select name=input_phone_1_type id=input_phone_1_type

Re: [WSG] select as form label

2004-10-21 Thread Nick Lo
Thanks Nick, Well, no... but it needs to be used correctly. The label element allows the text label for a form input to become 'live' (ie clickable) to enlarge the target for, say, a radio button - but it needs to wrap around the element it refers to. You have the label for id=input_phone_1

Re: [WSG] select as form label

2004-10-21 Thread Patrick H. Lauke
Oops...should really make it a habit to actually read the questions properly before storming in with what I think is the answer *blush* P Nick Lo wrote: Hi Patrick, Thanks for your response, unfortunately that wasn't my question though I realise at a glance it's how my question read. It was

Re: [WSG] select as form label

2004-10-21 Thread Steven . Faulkner
This is what a user (accessing with IBM homepage reader) hears for your example form: (Start of select menu with 6 items.) work[Selected.] (End of select menu.) [Text.] doesn't appear very informative? with regards Steven Faulkner Web Accessibility Consultant National Information Library

Re: [WSG] select as form label

2004-10-21 Thread Darren Wood
Nick Lo wrote: snip / As I've just put at... http://www.trikeinteractive.com/form_example.html I like the idea...but have a look at it in firefox 1.0 and you'll see why it probably isn't a good idea. each time I click on the dropdown the input box gets the focus, thus proving v.difficult to

Re: [WSG] select as form label

2004-10-21 Thread Patrick H. Lauke
Nick Lo wrote: Perhaps this is a case where it needs a nested label like... p label class=blank for=input_phone_1 label class=blank for=input_phone_1_typePhone type/label select name=input_phone_1_type id=input_phone_1_type option value=Please Select/option option

Re: [WSG] select as form label

2004-10-21 Thread Steven . Faulkner
To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: .co.uk Subject: Re: [WSG] select as form label

Re: [WSG] select as form label

2004-10-21 Thread Susan R. Grossman
It does work with tabbing/arrows/keyboard only in FF, but the focus unless you continue to hold the mouse as you draw down the drop down does leave to the formfield, which goes against what user expect of a select box, though it does actually work in FF 1.0 Though it does associate the label

Re: [WSG] select as form label

2004-10-21 Thread Nick Lo
Wow, so many responses... must type fast...just knocked up what must be a better solution: http://www.trikeinteractive.com/form_example.html However notice how the first is actually less laborious visually in terms of how we use desktop applications. I'm thinking of for example OS X Address

Re: [WSG] select as form label

2004-10-21 Thread Steven . Faulkner
: Sent by: Subject: Re: [WSG] select as form label [EMAIL PROTECTED] group.org

Re: [WSG] select as form label

2004-10-21 Thread Lea de Groot
On Fri, 22 Oct 2004 10:15:53 +1000, Nick Lo wrote: So my question is really; is the label around a select element essentially pointless? Nick, have you looked a the fieldset tag? Its useful for grouping fields together. HIH Lea -- Lea de Groot Elysian Systems - http://elysiansystems.com/

Re: [WSG] select as form label

2004-10-21 Thread Nick Lo
Hi Steven, Yes that's a solution I'd considered and on thinking about it/reading that article I realised yet another point: I use the label class to indicate required elements. So if this part of the form was submitted but not filled in: label class=blank for=input_phone_2_typePhone Type/label

Re: [WSG] select as form label

2004-10-21 Thread Terrence Wood
Multiple labels for a single form control is valid HTML, however a single label for multiple form controls is not: http://www.w3.org/TR/html4/interact/forms.html#h-17.9 Steven, can you be more specific about the barriers multiple labels present? TIA ./tdw On 2004-10-22 2:56 PM, [EMAIL PROTECTED]

Re: [WSG] select as form label

2004-10-21 Thread Nick Lo
Hi Lea, have you looked a the fieldset tag? Its useful for grouping fields together. Yes, in fact that example is an excerpt from a larger form that is enclosed in a fieldset with a legend. Though what my example highlighted was the finer points of accessibility I wasn't capturing. Thanks, Nick

Re: [WSG] select as form label

2004-10-21 Thread Steven . Faulkner
: [EMAIL PROTECTED]Subject: Re: [WSG] select as form label group.org