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
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
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
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
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
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
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
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
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
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
To: [EMAIL PROTECTED]
[EMAIL PROTECTED]cc:
.co.uk Subject: Re: [WSG] select as form
label
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
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
:
Sent by: Subject: Re: [WSG] select as form
label
[EMAIL PROTECTED]
group.org
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/
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
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]
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
:
[EMAIL PROTECTED]Subject: Re: [WSG] select as form
label
group.org
19 matches
Mail list logo