Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12298 META BUG: Accessibility improvements in Moodle 1.9
  3. MDL-8627

HTML QuickForm displays (some?) disabled elements in a non-accessible way

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.3, 1.9
    • 1.8
    • Accessibility
    • 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).

            nfreear Nick Freear
            pj Jon Papaioannou
            Nobody Nobody
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.