RE: JSP Forms Accessibility

If using STRUTS
(http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html)

You can use ID attribute, but you must write it as

styleId="username"

Then the jsp processor will generate the

id="username"

in the final rendered html code and assistive technology will pick it up.

-----Original Message-----
From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org]On
Behalf Of Lubow Scott
Sent: Tuesday, August 05, 2003 2:11 PM
To: W3C
Subject: JSP Forms Accessibility



Hi Everyone,
Can you use the ID attribute with the Label tag while using JSP forms?
Will the example below work associating the label with the property
attribute?

<label for="username">Login:</label>
<html:text property="username" size="16" maxlength="16"/>

Thanks in advance for your help.
Scott

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.505 / Virus Database: 302 - Release Date: 7/30/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003

Received on Thursday, 7 August 2003 14:34:54 UTC