Opened 12 years ago

Closed 12 years ago

#2445 closed enhancement (fixed)

textbox test examples need <label> element

Reported by: Becky Gibson Owned by: Douglas Hays
Priority: high Milestone: 0.9
Component: Accessibility Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

Since many people will use the test files of examples on how to use the widgets, the example files should be marked up for proper accessibility. The current examples in test_validate.js use just a span to indicate the label for the textboxes. Please update to use the <label for="inputId">Label text </label> to properly indicate the label. For example:

<div class="formQuestion">

<span class="emphasise"><label for="q1">First Name: </label></span> <span class="noticeMessage"> Textbox class, Attributes: {trim: true, ucFirst: true, class: 'medium'}, First letter of each word is upper case.</span>

</div>

<div class="formAnswer">

<input id="q1" type="text" name="firstname" value="testing testing" class="medium"" dojoType="Textbox" trim="true" ucfirst="true" />

</div>

Change History (1)

comment:1 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [7296]) Fixes #2445

Note: See TracTickets for help on using tickets.