W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

RE: FAQ Re: Mixing Tables and Forms

From: Charles McCathieNevile <charles@w3.org>
Date: Thu, 31 Jan 2002 11:58:08 -0500 (EST)
To: RUST Randal <RRust@COVANSYS.com>
cc: "WAI (E-mail)" <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0201311157520.32538-100000@tux.w3.org>
Presumably they could hold a default real value.

Chaals

On Thu, 31 Jan 2002, RUST Randal wrote:

  Thanks, Charles.  Unfortunately, the input fields can only hold about 5
  characters, which is insufficient space to hold any default text.

  -----Original Message-----
  From: Charles McCathieNevile [mailto:charles@w3.org]
  Sent: Thursday, January 31, 2002 10:35 AM
  To: RUST Randal
  Cc: WAI (E-mail)
  Subject: RE: FAQ Re: Mixing Tables and Forms


  Yep.

  Another possiblity (it is an "until user agents" checkpoint in WCAG 1.0 is
  to
  include text in the input itself, for textfields:

  <input type="text" value="0hours" ...

  so in lynx you get

    0hours_______________

  as a text input line.

  You probably should also use some helpful information, laid out to come
  before the input or after it, in a reasonably regular way, and identified
  with a label element. THis will help people who are using the system
  visually
  and are unlikely to see the title attribute value, and will work on systems
  that do implement accoridng to specification.

  <label for="#hoursAttended">Hours attended <input... /></label>

  or in a table

  <td><label for="#hoursAttended">Hours attended</td><td><input...

  (perhaps the first cell in the column is a heading, scoped for the two cell
  row...)

  cheers

  Chaals

  On Thu, 31 Jan 2002, RUST Randal wrote:

    Unfortunately, the page that is referenced by the URL given in Jim
    Thatcher's example is no longer there, so I'm not sure how the code is
    supposed to be written.

    Is the following correct?

    ----------
    <input type="text" id="hoursAttended" name="hoursAttended" title="Input
  the
    number of hours the child attended this month." />
    ----------

    Thanks,

    Randal




-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Thursday, 31 January 2002 11:58:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:00 GMT