Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35816 Accessibility Review issues (Deque)
  3. MDL-35938

Short answer, Numerical, Calculated and calculated simple question types do not have labels for the answer field

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      Description

      Issue
      Explicit association - The text field and it's label (Answer) are not associated explicitly with one another - use the <label> element to tag "Answer" and associate it with the <input> field using for and id.

      Standard Level
      WCAG 2 1.3.1 (A) http://www.w3.org/WAI/WCAG20/quickref/#qr-content-structure-separation-programmatic

      Impact
      Serious

      Example Link
      http://demo.moodle.net/

      Test Steps

      1. Login as a teacher
      2. Navigate to question bank
      3. Create a question of each type Short answer, Numerical, Calculated and calculated simple
      4. Click the preview icon next to each
      5. View the source for the answer field and see that the Answer text is not a label associated with the field

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              jrh18 Jason Hardin
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Barbara Ramiro, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: