Accessibility: The "Opening Date" and "Closing Date" time input text fields are unlabeled. #1
Description
The input[type='text'] fields for entering the time (hh:mm am/pm) for the opening and closing dates are unlabeled. This doesn't appear to be using the velocity date widget. Would it be possible to label these text fields?
Ideally the two text fields (date and time) should be enclosed in a fieldset element with an appropriate legend, but a title attribute or hidden label for the second text field would work as well (3 possibilities):
-
Fieldset Example (simplified):
* Opening date: -
Title Example (closer to existing code -- notice title attribute on 2nd text field):
* Opening date:
...
<input type="text" name="openDate:1:date-field" id="openDate:1:date-field" ... />
...
<input type="text" title="Opening date Time" name="openDate:1:time-field" id="openDate:1:time-field" ... /> -
Hidden Label Example (closer to existing code -- notice 2nd label element w/ class="skip"):
Opening date:
Opening date time:
...
<input type="text" name="openDate:1:date-field" id="openDate:1:date-field" ... />
...
<input type="text" title="Opening date Time" name="openDate:1:time-field" id="openDate:1:time-field" ... />