Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

Accessibility: The "Opening Date" and "Closing Date" time input text fields are unlabeled. #1

Open
axxter99 opened this issue Apr 18, 2011 · 1 comment

Comments

@axxter99
Copy link
Member

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):

  1. Fieldset Example (simplified):

    * Opening date:
  2. 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" ... />

  3. 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" ... />

@axxter99
Copy link
Member Author

origionaly reported as: https://jira.sakaiproject.org/browse/POLL-136

@axxter99 axxter99 reopened this Apr 18, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant