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

Re: Accessible forms in XHTML

From: Ineke van der Maat <inekemaa@xs4all.nl>
Date: Wed, 17 Jul 2002 14:41:59 +0200
Message-ID: <006c01c22d8f$5a22d280$264e3b3e@ineke>
To: "RUST Randal" <RRust@COVANSYS.com>, <w3c-wai-ig@w3.org>

Hallo Randal,

Can you tell me whether you also used <optgroup> and did you also put "label
for" for it?

Bobby complaint that I did not label it, but the example in WCAG-techniques
11.2 also  does not show a label for-element.

Where can I see your example?

Greetings
Ineke van der Maat


----- Original Message -----
From: "RUST Randal" <RRust@COVANSYS.com>
To: <w3c-wai-ig@w3.org>
Sent: Wednesday, July 17, 2002 2:05 PM
Subject: RE: Accessible forms in XHTML


>
> >You use the following example:
> >
> ><label for="workingYes">Yes</label>
> ><input type="radio" id="workingYes" name="working" value="y" />
> >
> ><label for="workingNo">No</label>
> ><input type="radio" id="workingNo" name="working" value="n" />
> >
> >Is this acceptable to an AAA rating?
>
> The example I posted did not include the FORM, FIELDSET and LEGEND elements
> intentionally.
>
> Here is what it really looks like:
>
> <form id="form1" name="form1" method="" action="">
> <fieldset>
> <legend>Demographic Data</legend>
> <div class="row">
> <span class="label">Are You Working?</span>
> <label for="workingYes">Yes</label>
> <input type="radio" id="workingYes" name="working" value="y"
> />
> <label for="workingNo">No</label>
> <input type="radio" id="workingNo" name="working" value="n"
> />
> </div>
> </fieldset>
> <div class="controls">
> <input type="submit" accesskey="s" id="submit" name="submit"
> value="Submit" />
> </div>
> </form>
>
> This solution is XHTML 1.0 Transitional, and uses CSS to format the visual
> display.
>
> Randal
>
>
Received on Wednesday, 17 July 2002 08:22:44 GMT

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