-
Sub-task
-
Resolution: Fixed
-
Minor
-
1.8
-
None
-
MOODLE_18_STABLE
-
MOODLE_18_STABLE, MOODLE_19_STABLE
When a "frozen" (i.e. disabled) input element is displayed with QuickForm, it is not displayed as usual but with an extra disabled="disabled" attibute, as seems logical. This has two drawbacks that I can think of:
1. Loses uniform appearance with the rest of the GUI, and may even confuse some users.
2. Is probably less accessible to screen readers, who probably handle the disabled checkbox correctly but simply see text in the current case.
I propose changing this behavior for the check box and any other element where it is seen. We could do this by further subclassing from HTML QuickForm (for easy maintenance) or hacking QuickForm itself a bit (if upgrading it is going to be very rare).
- has been marked as being related by
-
MDL-13983 in a html quick if a radio button is disabled you get '( )' or '(x)' rather than just disabling the button
- Closed