W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2003

radio button & drop-down

From: <Kieran_M_O'Brien@national.com.au>
Date: Mon, 27 Oct 2003 13:48:20 +1100
To: w3c-wai-ig@w3.org
Message-ID: <OF0531BC93.61B309C8-ONCA256DCC.000EC3CB-CA256DCC.000FFF7C@au.thenational.com>

Hi,

I am trying to figure out the best way to associate a radio button with a
drop down list. What I have is a series of radio buttons and a few of these
options have sub-options which are in the drop-down box. How do I get the
speech browser to realise that these two are linked ? Here is a current
snippet of the code. No comments on the code please, it is not mine !!

<tr>
      <td valign=middle><input type="radio" name="lvlrtype" value="7"
></td>
      <td align=left><font size=2 face="arial">Variable Rate Home
Loan</font></td>
      <td align=center valign=top><font size=2 face="arial">Variable
6.56%</font></td>
<tr>
      <td colspan=5><hr noshade=yes></td>
</tr>
<tr>
      <td valign=middle><input type="radio" name="lvlrtype" value="2"
></td>
      <td align=left><font size=2 face="arial">Fixed Rate Home
Loan</font></td>
      <td align=center valign=top><font size=2 face="arial">
            <select size=1 name="lvlr"><option value="0">Please select
                  <option value="2"> 1 year fixed 5.99%
                  <option value="3"> 2 year fixed 6.35%
                  <option value="4"> 3 year fixed 6.35%
                  <option value="5"> 4 year fixed 6.7%
                  <option value="6"> 5 year fixed 6.8%
                  <option value="7"> 10 year fixed 7.5%
            </select>
            </font>
      </td>
</tr>
<tr>
      <td colspan=5><hr noshade=yes></td>
</tr>
<tr>
      <td valign=middle><input type="radio" name="lvlrtype" value="3"
></td>
      <td align=left><font size=2 face="arial">Home Loan Package
*</font></td>
      <td align=center valign=top><font size=2 face="arial">
            <select size=1 name="lvlr"><option value="0">Please select
                  <option value="8"> 6 months fixed 5.29%
                  <option value="9"> 1 year fixed 5.49%
                  <option value="10"> 2 year fixed 6.35%
                  <option value="11"> 3 year fixed 6.35%
                  <option value="12"> 4 year fixed 6.7%
                  <option value="13"> 5 year fixed 6.8%
            </select>
            </font>
      </td>
</tr>

I ask this question because in testing this app with a visually impaired
person, he tabbed from the first radio button into the second drop-down and
selected an option thinking that he was selecting an interest rate for that
loan where in fact he was choosing it for a different one.

Regards,
Kieran

_________________________________________________________________
The information contained in this email communication may be confidential.
You should only disclose, re-transmit, copy, distribute, act in reliance on
or commercialise the information if you are authorised to do so. Any views
expressed in this email communication are those of the individual sender,
except where the sender specifically states them to be the views of a
member of the National Australia Bank Group of companies.  The National
Australia Bank Group of companies does not represent, warrant or guarantee
that the integrity of this communication has been maintained nor that the
communication is free of errors, virus or interference.
Received on Sunday, 26 October 2003 21:54:58 GMT

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