W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2001

problem with forms

From: Morris, Lynn <LMorris@hrsa.gov>
Date: Wed, 1 Aug 2001 13:00:34 -0400
Message-ID: <296B71923206D41181CD00508BAC26D101EE5737@HRSA1>
To: w3c-wai-ig@w3.org
Hi--

I'm trying to make my forms accessible, but I can't figure out how to make
the radio buttons and checkboxes keyboard-accessible.  I've tried the
accesskey feature, but that technique doesn't work in Netscape 4.7 (example
is at
http://158.72.80.241/development/HelpDesk/home_version/testAccess.htm).

What am I doing wrong?  Do I need an accesskey, or is there a keyboard
command to select form items that I don't know about?


Here's the source code:

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>
<form>
<label for='text1' accesskey="1">
Press Alt+1 to set focus to the textbox.
<P><INPUT id=text1 name=text1 tabindex='1' size="20"
maxlength="20"></label></P>

<p>
<label for='radio1' accesskey="2">
Press Alt+2 to set focus to the radio button.
<INPUT type="radio" id=radio1 name=radio1 tabindex='2'></label></p>

<p>
 <label for='radio2' accesskey="3">
Press Alt+3 to set focus to the radio button.
<INPUT type="radio" id=radio2 name=radio1 tabindex='3'></label></p>
 
<p>
<label for='checkbox1' accesskey="4">
Press Alt+4 to set focus to the checkbox button.
<INPUT type="checkbox" id=checkbox1 name=checkbox1 tabindex='4'></label>
</p>
<p>
<label for='checkbox2' accesskey="5">
Press Alt+5 to set focus to the checkbox button.
<INPUT type="checkbox" id=checkbox2 name=checkbox2 tabindex='5'></label>
</p>
</form>
</p>
</BODY>
</HTML>

Thanks!
___________________________________
Lynn Morris
Division of Electronic Information Services
Office of Information Technology, HRSA
5600 Fishers Lane
Room 10A-03
Rockville, MD 20857
Phone: 301-443-3128
FAX: 301-443-3604
Received on Wednesday, 1 August 2001 13:05:09 GMT

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