(X)HTML Techniques (Techniques XML Submission Form)

 checkbox checked

Submission Results:

Technology: (X)HTML Techniques 
Techniques Category: content-structure-separation 
Submitter's Name: John Slatin 
Submitter's Email: john_slatin@austin.utexas.edu

<technique id="UNKNOWN">
<short-name>Grouping radio buttons with fieldset</short-name>
<applies-to>
 <guideline idref="" />
 <success-criterion idref="UNKNOWN" />
</guideline

</applies-to>

<task>
<p>Related form controls are placed in an identifiable group using fieldset.</p>
</task>

<description>
Radio buttons present possible answers to a question or other prompt. Users must be able to perceive both the question and each possible response. The <fieldset> element contains a group that includes the question and the possible responses. The <legend> element contains the question, and the <label> elements associate each radio button with the appropriate response.

</description>

<user-issues>
 <affects group="UNKNOWN" />
</user-issues>

<eg-group>
<description>


</description>

<code><![CDATA[
<fieldset>

<legend>What is your gender?</legend>

<input id="male" type="radio" name="gender" value="m">

<label for="male">Male</label>

<input id="female" type="radio" name="gender" value="f">

<label for="female">Female</label>

</fieldset>
]]</code>

<ua-issues>

</ua-issues>
</eg-group>

<resources>
</resources>
</technique>

Additional Notes:

Received on Saturday, 31 July 2004 14:29:05 UTC