W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2000

Re: Proper Form Coding

From: Charles McCathieNevile <charles@w3.org>
Date: Fri, 14 Apr 2000 15:16:06 -0400 (EDT)
To: Kelly Ford <kford@teleport.com>
cc: w3c-wai-ig@w3.org
Message-ID: <Pine.LNX.4.20.0004141512160.9178-100000@tux.w3.org>
Hi Kelly,

this seems like a bug in your screen reader, although the code as included
here is not valid. The table should not appear inside a paragraph, and you
need the closing tag for the form...

Cheers

Charles

On Fri, 14 Apr 2000, Kelly Ford wrote:

  Hi All,
  
  Again if there are pointers on this please direct me to appropriate
  resources.  I've been experimenting with ways to ensure that a screen
  reader will read the correct text for things like edit boxes and such on
  forms.
  
  If I exclude the table references in the below example I hear all the text
  read as a prompt.  If I include the table references I only hear the direct
  instruction to enter a name.
  
  What's the best way to code things so a screen reader will only read the
  direct instruction?  Is my method acceptable?
  
  <FORM METHOD="POST" ACTION="bogus-script"> 
  An edit box is where you type information.
  <p>
  <table>
  <tr>
  <td>
  Please enter your name:
  <INPUT TYPE="text" NAME="name">
  </td>
  </tr>
  </table>
  <p>
  
  

--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053
Postal: GPO Box 2476V, Melbourne 3001,  Australia 
Received on Friday, 14 April 2000 15:16:12 GMT

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