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

Help links in forms are outside the <label> - they will be ignored in JAWS forms mode

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8, 1.8.1, 1.8.2
    • 1.8.3, 1.9
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Nick 22 Aug, "" I discovered a while ago that help links in forms are created between the </label> and the form control, NOT at the end of the <label> element as I expected.
      a) Currently Moodle has: <label for="x">Label</label> <a href="...">Help link</a> <input type="text" id="x" />

      b) I think this order is preferable, to ensure that the link is accessible from forms mode - does this make sense?
      <label for="x">Label <a href="...">Help link</a> </label> <input type="text" id="x" />
      ""
      Chetz after testing, "The link within the label read perfectly in JAWS, whereas the link outside the label was ignored in forms mode."

      The attached patch modifies the MoodleQuickForm_Renderer::_elementTemplates array in 'lib/formslib.php'.
      There don't appear to be any styling issues around this, so I will apply this immediately.

      Attachments

        Activity

          People

            nfreear Nick Freear
            nfreear Nick Freear
            Nobody Nobody
            Jun Pataleta, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07