[thelist] Accessability for web survey questions

Sam Carter sam at iness.com
Fri Oct 28 11:59:35 CDT 2005


Are there any special accessibility considerations for coding a <form> 
block which contains a few radio buttons to gather a user's response to 
a survey question?

I hadn't given it any prior thought, here's a rough sample of what I've 
been doing...

        <form action="../survey/survey.asp" method="post"  class="survey">
          <h2>Optional Survey</h2>
          <h3>Question here... yada yada yada?</h3>
          <div>
            <input type="radio" name="answer" id="choice1" value="1;No.">
            <label for="choice1">No.</label>
          </div>
          <div>
            <input type="radio" name="answer" id="choice2" value="2;Yes">
            <label for="choice2">Yes,</label>
          </div>
          <div>
            <input type="image" src="../survey/showresults.gif" 
name="Submit" value="Submit" alt="Show results.">
          </div>
        </form>

What about coding the Radio buttons in an ordered or unordered list?

Comments?

Sam




More information about the thelist mailing list