473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

form label

I'm wondering what the group thinks is the best way to display the
<label> element. The default rendering in Moz and MSIE/Win (probably
others, too) only changes the mouse cursor (that's a strange term) from
text-select to default (an arrow). That, to me, is too subtle, and is a
bit like "mystery meat" navigation. The user must hover the mouse before
they know there was something special.

Simon Willison suggested changing the cursor to pointer used for links.
I don't like that approache for two reasons: one, it confused links with
labels; and two, it still suffers "mystery meat" syndrome.

I've decided to add underlining to my labels, at least on a trial basis.
The advantage is that it gives the user a clear indication that there's
something different about that text. The danger is that it, too, could
confuse visitors into thinking there's a link. The only distinguishing
characteristic is the color: black for <label>, and the user's default
link color for <a>. But then, there's no real danger to a user clicking
on a label. It will only change focus to the associated field.

Here's an example:

http://www.bonfete.biz/contact/

Any thoughts?

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #1
20 2942
On Wed, 25 Aug 2004 13:09:49 -0400, Brian
<us*****@julietremblay.com.invalid> wrote:
I'm wondering what the group thinks is the best way to display the
<label> element. The default rendering in Moz and MSIE/Win (probably
others, too) only changes the mouse cursor (that's a strange term) from
text-select to default (an arrow). That, to me, is too subtle, and is a
bit like "mystery meat" navigation. The user must hover the mouse before
they know there was something special.
Yet there are form controls available, so the label not being clearly
identified as having special powers doesn't really reduce functionality
like true mystery meat. Rather, it fails to notify the user that there is
anything special.
Simon Willison suggested changing the cursor to pointer used for links.
I don't like that approache for two reasons: one, it confused links with
labels; and two, it still suffers "mystery meat" syndrome.

I've decided to add underlining to my labels, at least on a trial basis.
The advantage is that it gives the user a clear indication that there's
something different about that text. The danger is that it, too, could
confuse visitors into thinking there's a link.
I don't like either for the same reason.
The only distinguishing characteristic is the color: black for <label>,
and the user's default link color for <a>. But then, there's no real
danger to a user clicking on a label. It will only change focus to the
associated field.
No danger, no, but...
Here's an example:

http://www.bonfete.biz/contact/

Any thoughts?


.... I'm thinking this just feels awkward to me to use. Not the ideal
solution, I think.

Perhaps a dotted under-border, then if the user expects a tooltip you can
add title to tell them this is a label for a form item. Or something along
those lines.

What's hard is the typical user knows links are underlined, so a solid
underline is going to bear similarity to a user experience, for good or
bad. But I can't imagine most people are aware of how form labels work at
any level, and besides browsers don't really do anything special to them
so how would they? Since there's no commonly-known UA behavior to work
from with these, we're inventing whatever usability-friendly method we use
from scratch, which means no pages will do it the same, which means the
users won't ever have a way that they're most used to.

Interesting topic.
Jul 20 '05 #2
Neal wrote:
Brian wrote:
<label> element. The default rendering in Moz and MSIE/Win
(probably others, too) only changes the mouse cursor (that's a
strange term) from text-select to default (an arrow). That, to me,
is too subtle, and is a bit like "mystery meat" navigation.
Yet there are form controls available, so the label not being clearly
identified as having special powers doesn't really reduce
functionality like true mystery meat.


Well, ok, but if you lose the funtionality of the label because it's not
apparent, then there is something missing.
Simon Willison suggested changing the cursor to pointer used for
links.

I've decided to add underlining to my labels


I don't like either for the same reason.


Well, poo! :-p
Here's an example:

http://www.bonfete.biz/contact/


Perhaps a dotted under-border, then if the user expects a tooltip you
can add title to tell them this is a label for a form item. Or
something along those lines.


Not ideal. What should one put in the title that isn't device specific?
i.e., "click this text to focus on the 'email' input" is awkward, and
far too concerned with the mechanics, which is a bad idea. What if the
user does not use a mouse? Will they understand "focus"? Or "input"?
besides browsers don't really do anything special to them so how
would they?
The problem as I see it is that there is a limted number of things we
can do to distinguish text, and we've already expended our reserve:

underline -> links
dotted bottom border -> abbr and acronym
italics -> emphasis, definition, book title, foreign words, etc.
bold -> strong emphasis
Since there's no commonly-known UA behavior to work from with these,
we're inventing whatever usability-friendly method we use from
scratch, which means no pages will do it the same, which means the
users won't ever have a way that they're most used to.


Yeah, that's the really awful part of it. I suppose it's no worse than
before <label> was added. But it pains me, because <label> is one of the
few elements that truly enhances a page and adds usability, especially
for selecting those tiny checkboxes and radio buttons.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #3
On Wed, 25 Aug 2004 15:12:26 -0400, Brian
<us*****@julietremblay.com.invalid> wrote:
Neal wrote:
Perhaps a dotted under-border, then if the user expects a tooltip you
can add title to tell them this is a label for a form item. Or
something along those lines.
Not ideal. What should one put in the title that isn't device specific?
i.e., "click this text to focus on the 'email' input" is awkward, and
far too concerned with the mechanics, which is a bad idea. What if the
user does not use a mouse? Will they understand "focus"? Or "input"?


That's just it - what terminology could you use that would be more
universally applicable AND understood than "Try clicking me ;)"? (Which I
kinda like, except that some users don't click.) As it's a tooltip, it
seems this would be more appropriate a place than any other to put
something dealing with the machanics.
I suppose it's no worse than
before <label> was added. But it pains me, because <label> is one of the
few elements that truly enhances a page and adds usability, especially
for selecting those tiny checkboxes and radio buttons.


All the old Myst players will click anywhere anyway, so they'll find it
fine. It is a shame though. Those buggers are too useful to be left with
no recognizable rendering.
Jul 20 '05 #4
Neal wrote:
Brian wrote:
I've decided to add underlining to my labels, at least on a trial
basis.

http://www.bonfete.biz/contact/


... I'm thinking this just feels awkward to me to use. Not the ideal
solution, I think.

Perhaps a dotted under-border, then if the user expects a tooltip you
can add title to tell them this is a label for a form item.


I decided to change it to a dashed border. That's different than <abbr>
and <a href...>. The disadvantage is that MSIE/Win cannot do dashed
border, so it'll still be solid in that (cough)piece of s***(cough)
browser. I changed the color of the border to something a bit more mute.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #5
Neal wrote:
Brian wrote:
Neal wrote:
Perhaps a dotted under-border, then if the user expects a tooltip
you can add title to tell them this is a label for a form item.
Not ideal. What should one put in the title that isn't device
specific?


That's just it - what terminology could you use that would be more
universally applicable AND understood than "Try clicking me ;)"?
(Which I kinda like, except that some users don't click.) As it's a
tooltip, it seems this would be more appropriate a place than any
other to put something dealing with the machanics.


Eh, I don't like mechanics anywhere. Title != tooltip, even if browsers
present them as such. Who knows what might come along to change that
rendering.
All the old Myst players will click anywhere anyway, so they'll find
it fine.


You've lost me. What is "Myst"?
--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #6
On Wed, 25 Aug 2004 20:56:37 -0400, Brian
<us*****@julietremblay.com.invalid> wrote:
Neal wrote:
All the old Myst players will click anywhere anyway, so they'll find
it fine.


You've lost me. What is "Myst"?


http://www.mismatch.co.uk/myst.htm

It's a classic game, the graphic rendering was considered
state-of-the-art. If you're into thoughtful logic games try it.
Jul 20 '05 #7
"Brian" <us*****@julietremblay.com.invalid> a écrit dans le message de
news:10*************@corp.supernews.com
http://www.bonfete.biz/contact/


Err, in french we say "bonne fête" instead of "bon fête"

Jul 20 '05 #8
Brian <us*****@julietremblay.com.invalid> wrote:
I'm wondering what the group thinks is the best way to display the
<label> element.


I think the first question should be "why". That is, what do we try to
achieve by changing the element's appearance?

There are various things that <label> elements may do to help the user.
I _just_ learned that for a text field, you can click on the label, too,
in order to focus on the field! But I don't think that's a particularly
useful feature (though not harmful either).

More importantly, users may need to be helped to see the _association_
between labels and fields. But in the most common designs, the
association is pretty obvious anyway, since each line or row contains one
label and one field.

This leaves, in my opinion, the feature that you can toggle the setting
of a radio button or a checkbox by clicking on its label, as mentioned
elsewhere in the thread. This is something relevant especially to people
with motoric disabilities or motorically challenged situation (try
clicking on a ridiculously small radio button using a portable computer's
excuse for a surrogate for a mouse, while sitting in a moving bus).
And users may even expect, from other user interfaces, that clicking on
the label affects the setting.

For this, I think putting the radio button or the checkbox in a bordered
box together with its label, with a distinctive background color for the
box, makes the situation as clear as possible without being too explicit.
(You could always write some text on the page, explaining how people can
click on the labels, but this gets awkward, especially since you would
then mislead many people who use browsers where things don't work that
way.) There are some examples of this approach at
http://www.cs.tut.fi/~jkorpela/forms/kbd.html

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #9
Pierre Goiffon wrote:
Brian a écrit
http://www.bonfete.biz/contact/

Err, in french we say "bonne fête" instead of "bon fête"


Wait til I tell the client (my sister) that one! :-D

We've already prepared a page on this:
http://www.bonfete.biz/about/name

In case you don't want to read it, here's the story: In the U.S., where
this company is based, people are familiar with "bon", from the phrase
"bon appetit" if nothing else. However, people are not familiar with the
feminine form, "bonne". Thus, my sister named her company Bon Fête.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #10
In article <41***********************@news.free.fr>,
"Pierre Goiffon" <pg******@nowhere.invalid> writes:
Err, in french we say "bonne fête" instead of "bon fête"


Pierre, don't let it worry you. They mangle English too.

(They being usually 'merkins; I don't know if that incluses Brian)

--
Nick Kew
Jul 20 '05 #11

"Nick Kew" <ni**@hugin.webthing.com> wrote in message
news:9r************@webthing.com...
In article <41***********************@news.free.fr>,
"Pierre Goiffon" <pg******@nowhere.invalid> writes:
Err, in french we say "bonne fête" instead of "bon fête"


Pierre, don't let it worry you. They mangle English too.

(They being usually 'merkins; I don't know if that incluses Brian)


The Brits mangled both languages so much after 1066 that they got fused
together and are known now as Middle English.

Jul 20 '05 #12
Nick Kew wrote:
"Pierre Goiffon" <pg******@nowhere.invalid> writes:

Err, in french we say "bonne fête" instead of "bon fête"

Pierre, don't let it worry you. They mangle English too.

(They being usually 'merkins; I don't know if that incluses Brian)


Those does incluses me. I being 'merkin. Shute, I been malined now.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #13
In article <10*************@corp.supernews.com>,
Brian <us*****@julietremblay.com.invalid> writes:
(They being usually 'merkins; I don't know if that incluses Brian)


Those does incluses me. I being 'merkin. Shute, I been malined now.


Hehe. I meant to put 'They' in quotes, to indicate better that 'they'
and merkins were separate entities with no direct relationship beyond
the fact that a high proportion of the worst offenders are 'merkin:-)

As Harlan points out, the Brits have a longer history of it ...

--
Oook!
Jul 20 '05 #14
"Brian" <us*****@julietremblay.com.invalid> a écrit dans le message de
news:10*************@corp.supernews.com
Err, in french we say "bonne fête" instead of "bon fête"


Wait til I tell the client (my sister) that one! :-D

We've already prepared a page on this:
http://www.bonfete.biz/about/name


Oh well, good :)

Jul 20 '05 #15
"Nick Kew" <ni**@hugin.webthing.com> a écrit dans le message de
news:9r************@webthing.com
Err, in french we say "bonne fête" instead of "bon fête"
Pierre, don't let it worry you. They mangle English too.


I sure mangle french too :D In fact, I often sees foreign people speaking
and writing french better than me... damned. It"s a very nive language but
pretty hard.
(They being usually 'merkins; I don't know if that incluses Brian)


I didn't find even in my french-english dictionnary the word "merkins", so I
can't understand :/ Someone to explain that to me please ?

Jul 20 '05 #16
"Jukka K. Korpela" <jk******@cs.tut.fi> a écrit dans le message de
news:Xn*****************************@193.229.0.31
I'm wondering what the group thinks is the best way to display the
<label> element.


I think the first question should be "why". That is, what do we try to
achieve by changing the element's appearance?

There are various things that <label> elements may do to help the
user. I _just_ learned that for a text field, you can click on the
label, too, in order to focus on the field! But I don't think that's
a particularly useful feature (though not harmful either).


Yes it's useful !! Nowdays you've got pretty complex applications on the
web. For now, the vast majority of this complexity is in the back office web
pages... And sometimes you can find a lots of checkboxes ! So its very very
usefull then to be able to check them using the label, it's really time
saving : don't need to point exactly in the checbox...

This is very common in UI, but in a web context <label> is used for that
just since a little time. So users are not used to be able to check a
checkbox or a readio button clicking on its associated label... And you have
to show her/him that he can do it, otherwise she/he will continue to point
exactly to the form object. The best I can see now is to use the CSS cursor:
pointer for labels... Underlining labels is I think a bad solution : you
have to keep the underline form to their common uses (links and "important"
text)

Jul 20 '05 #17
Pierre Goiffon wrote:
"Nick Kew" <ni**@hugin.webthing.com> a écrit

I often sees foreign people speaking and writing french better than
me...
I know what you mean. After returning from a study abroad program in
Paris, I was hanging around with this Haitian. I was quite surprised
that she used subjunctif imparfait, which is not so common in France,
and even subjunctif plus-que-parfait. (!) I didn't know there was such a
thing until she told me. Her French was very formal.
(They being usually 'merkins;


I didn't find even in my french-english dictionnary the word
"merkins",


Ha ha, no you won't find that word. Nick made it up. Or maybe it's
something Brits use, I don't know.
so I can't understand :/ Someone to explain that to me please ?


American. Just drop the first syllable, and slur the rest of it
together. You know, the way you French people say, "je ne sais pas".
;-) (To the non-Parisians in the group: it sounds almost like "chez pas".)

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #18
Pierre Goiffon wrote:
"Jukka K. Korpela" a écrit
There are various things that <label> elements may do to help the
user. I _just_ learned that for a text field, you can click on the
label, too, in order to focus on the field! But I don't think
that's a particularly useful feature (though not harmful either).
Yes it's useful !! Nowdays you've got pretty complex applications on
the web. For now, the vast majority of this complexity is in the back
office web pages... And sometimes you can find a lots of checkboxes !
I think J.Korpela was saying that <label> isn't really necessary for
input boxes and textareas. And I think he's right. So for the form on
bonfete.biz, I could just ignore it. But I was asking specifically for
checkboxes and radio buttons.
So its very very usefull then to be able to check them using the
label, it's really time saving : don't need to point exactly in the
checbox...
I think we're all in agreement on this point.
This is very common in UI, but in a web context <label> is used for
that just since a little time. So users are not used to be able to
check a checkbox or a readio button clicking on its associated
label... And you have to show her/him that he can do it, otherwise
she/he will continue to point exactly to the form object. The best I
can see now is to use the CSS cursor: pointer for labels...
Underlining labels is I think a bad solution : you have to keep the
underline form to their common uses (links and "important" text)


The "pointer" is also used for links, so this seems to be at least as
bad. And it suffers from mystery meat syndrome, as I mentioned earlier.
The <label> is not very useful if users have to guess that it will do
something, and hover their mouse to find out. An underline would tell
them there's something there just by looking. The underline should be
the same color of the label text, and certainly different than link text.

But I see your point about confusing them. I've changed to dashed green
bottom border. And I may yet adopt J.Korpela's solution of a border
around the label and associated input.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #19
Brian <us*****@julietremblay.com.invalid> wrote:
I think J.Korpela was saying that <label> isn't really necessary for
input boxes and textareas.


Oh, I seem to manage to get misunderstood quite successfully. :-)

What I referred to was the particular effect that clicking on a label
focuses on an input box (or textarea). I cannot find it useful, though I
might miss something.

But using <label> is useful for other purposes, such as helping speech
browsers to associate labels with fields - and perhaps for styling
purposes as well.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #20
Jukka K. Korpela wrote:
Brian wrote:

I think J.Korpela was saying that <label> isn't really necessary
for input boxes and textareas.
Oh, I seem to manage to get misunderstood quite successfully. :-)


No, I think I'll take the fall for this.
What I referred to was the particular effect that clicking on a label
focuses on an input box (or textarea).
That's what I was trying to say, but I overgeneralized. Our discussion
was limited to visual (gui) browsers.
I cannot find it useful, though I might miss something.
I'm with you on that one. For screen browsers, it's just as easy to
click inside an input text box as that input's label. As you mentioned,
and as I tried to convey, the <label> element is more useful elsewhere,
e.g., checkboxes or radio buttons.
But using <label> is useful for other purposes, such as helping
speech browsers to associate labels with fields - and perhaps for
styling purposes as well.


That, too. :-)

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Rick Cook | last post by:
I would like to do a response form on one of my sites instead of posting an e-mail address for spammers. I've taken a couple of examples from sites, but the code looks clunky and non-conformant to...
4
by: pizzy | last post by:
INTRO: I tried to clean it up for easy reading. I hope I didn't make any mistakes. PROBLEM: WOW, this is some crazy sh!t. I can't get my checkbox (see "TAGSELECTED") to print my textboxes (see...
16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
18
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
0
by: jianxin9 | last post by:
Hi everyone, I don't have a lot of experience with ASP and I was hoping someone could help me. I want to use our ASP form along with some javascript code to create a form where our patrons can...
2
by: punitshrivastava | last post by:
Hi to All. I am Punit Shrivastava.I am working in Asp.As i am new in this technology please help me. I want to create enquiry form in Asp. For this i code like this: <form name="enquiry"...
8
numberwhun
by: numberwhun | last post by:
Hello everyone! I am dabbling in processing forms using Perl and having only just begun, I am already having problems. Go figure. :-) Top begin with, here it the form's html, its nothing at...
3
by: jerry101 | last post by:
Okay, so I have no knowledge with ASP and I was asked to look at this contact form because the emails aren't delivering. I'll post the whole page of code, because I am unsure at what is what...
9
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I have a MDI Container Form, with one label control on the Background of this container form. When I now open a child form, this form is behind the label ... and this looks ugly ... :-))...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.