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

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.8.3, 1.9
    • Accessibility
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                11/Oct/07