E-mail List Archives
RE: Site evaluation
From: julian.rickards@ndm.gov.on.ca
Date: Feb 13, 2004 7:24AM
- Next message: julian.rickards@ndm.gov.on.ca: "RE: webaim-forum-d Digest V2004 #23"
- Previous message: Rodrigo Paiva: "Site evaluation"
- Next message in Thread: None
- Previous message in Thread: None
- View all messages in this Thread
There is a bit of a problem with your form code here. You correctly use for
in the <label> tag but the for="name" must be the same as the id="name" in
the <input> tag. In your snippet below, you have for="Name" and
id="cadName".
It also appears that you are using XHTML because of the /> at the end of
<input />. Starting with XHTML 1.0, the name attribute has been deprecated
in favour of the id attribute. It is commonly recommeded that you use both
for older browser support so they should be the same: name="x" id="x".
HTH,
Jules
---------------------------------------------------------
Julian Rickards
Digital Publications Distribution Coordinator
Publications Services Section
Ontario Ministry of Northern Development and Mines
Phone: (705) 670-5608
Fax: (705) 670-5690
> -----Original Message-----
> From: Rodrigo Paiva [mailto: <EMAIL REMOVED> ]
> <form method="post" action="processar.asp">
> <label for="Name" class="hide">Name:</label><input type="text"
> name="name" value="Insert your name" id="cadName" class="formCadInput"
> tabindex="1" onFocus="select();" />
> <input type="image" src="busca.gif" alt="Submit" name="send" />
> </form>
----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: julian.rickards@ndm.gov.on.ca: "RE: webaim-forum-d Digest V2004 #23"
- Previous message: Rodrigo Paiva: "Site evaluation"
- Next message in Thread: None
- Previous message in Thread: None
- View all messages in this Thread