E-mail List Archives
Re: Read only fields
From: Jukka K. Korpela
Date: Oct 11, 2006 5:00AM
- Next message: Patrick Lauke: "Re: Read only fields"
- Previous message: Penny Roberts: "Re: looking for html technique to provide a method to skiprepetitive navigation linksi"
- Next message in Thread: None
- Previous message in Thread: None
- View all messages in this Thread
On Wed, 11 Oct 2006, Lise L. Hansen wrote:
> Do you know whether it does not satisfy the standards of W3C if the
> background color of Read-only fields are being grayed out, or whether it
> is okay to do? As long as the contrast is still okay, of course.
I think the key question is whether read-only fields should be used at
all. You can avoid their problems by using hidden fields instead, possibly
duplicating their data in normal visible (non-field) content if needed.
So instead of
<label for="cust">Customer no.: </label>
<input readonly id="cust" name="cust" value="123456">
you can use
Customer no.: 123456
<input type="hidden" name="cust" value="123456">
or, depending on the purpose, without the visible text.
--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
- Next message: Patrick Lauke: "Re: Read only fields"
- Previous message: Penny Roberts: "Re: looking for html technique to provide a method to skiprepetitive navigation linksi"
- Next message in Thread: None
- Previous message in Thread: None
- View all messages in this Thread