In a jsp file:

<label for="myField">MY FIELD</label>
<html:text styleId="myField" property="formField" /> 


Marcello

-----Messaggio originale-----
Da: Weisfield, Russell (HAC) [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 25 gennaio 2007 23.25
A: user@struts.apache.org
Oggetto: Section 508 and html:text tag issue

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 Weisfield
VA, HAC, OI&T Field Ops Support

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


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

Reply via email to