• Post Reply Bookmark Topic Watch Topic
  • New Topic

acossiating tagId with labels using netui tags (specificly in webLogic)

 
mia bennett
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I was wondering if anyone could help me please.

In order to comply with accessibility requirements, I need to make sure that for each input field within the jsp, an id exists which would associate that with a label. So that the html idealy should look as below:

<label for="userField">
User ID
<br/>
</label>

<div>
<input type="text" id="userField" value="" maxlength="12">
</div>

However as we are using netui tags and consequently tagId, the html is produced as follows:

<label for="userField">
User ID
<br/>
</label>
<div class="inputContainer">
<input type="text" name="fap{actionForm.userID}" id="fap{actionForm.userID}" value="" maxlength="12">
</div>

Is there a way of using netui tags and still have a label and id which are consistent? is there a way of many giving the name value to the label?

Thoughts everyone? Thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!