Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8
-
Component/s: Accessibility, Forms Library
-
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?
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.