Moodle

Date element in new forms not accessible

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

The date element has label, but the for value is pointing nowhere. The problem is there are three input elements and only one label. JAWS is only reading numbers/months nothing else now, user can guess the meaning only from the help icon when tabbing forward. Also when user clicks the label, nothing is selected.

Solution:
1/ add hidden labels
2/ fieldset legend ?
3/ non-standard and not-recommended alt attribute ?? (to do for me: find out if it works in JAWS)

any other idea?

Activity

Hide
Jamie Pratt added a comment -

This applies to all elements in a group. Date element is just one element that is a child class of the group element. Checkbox and radio box elements have a visible label which appears to the right of the element. I suggest that we use the code for checkbox and radio box elements as a start and for other elements include a hidden label.

I guess it would be semantically more correct also to make the label for the row a legend for the fieldset that contains the whole row of elements but I'm not sure if this is necessary.

Show
Jamie Pratt added a comment - This applies to all elements in a group. Date element is just one element that is a child class of the group element. Checkbox and radio box elements have a visible label which appears to the right of the element. I suggest that we use the code for checkbox and radio box elements as a start and for other elements include a hidden label. I guess it would be semantically more correct also to make the label for the row a legend for the fieldset that contains the whole row of elements but I'm not sure if this is necessary.
Hide
Jamie Pratt added a comment -

Added hidden labels to all elements that do not otherwise have a label.

Show
Jamie Pratt added a comment - Added hidden labels to all elements that do not otherwise have a label.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: