On Thu, 2007-01-25 at 15:25 -0700, Weisfield, Russell (HAC) wrote:
> Hello,
> 
> To abide by Section 508 compliance I need to associate my form inputs
> with a <label> tag.  I therefore tried to add in an "id" attribute to my
> html:text tag (which is using the TextTag object).  While the page
> rendered successfully ( I did modify my .tld file to correct a rendering
> error), the text inputs did not have the id attribute with them and
> therefore, some of the assistive technology we have for testing
> (particularly Narrator which we do have to accommodate) failed to
> identify the name of the input box.  Is there a solution or work around
> for this and if so where might I find it?  I have scoured multiple sites
> to no avail.  Thanks.

Russell,

Try using the "styleId" attribute of the <html:text> element.  It will
render an "id" attribute in the resulting <input> element.

http://struts.apache.org/1.x/struts-taglib/tlddoc/html/text.html

Chris

-- 
Christopher D. Goldman
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to