Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84752

Accessibility issues with missing form labels when adding essay question

XMLWordPrintable

      See the following from Axe (same can be produced using WAVE):

      Ensure every form element has a label
      more information Link opens in a new window
      Element Location:
       
      #id_minwordlimit
       
      <input type="text" class="form-control " name="minwordlimit" id="id_minwordlimit" value="" size="6" maxlength="6" disabled="disabled">
       
      To solve this problem, you need to fix at least (1) of the following:
       
          Form element does not have an implicit (wrapped) <label>
          Form element does not have an explicit <label>
          aria-label attribute does not exist or is empty
          aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
          Element has no title attribute
          Element has no placeholder attribute
          Element's default semantics were not overridden with role="none" or role="presentation"
      

      Applies to both the minimum/maximum word limit fields. Add appropriate label to each to make them accessible

      Edit I also found the "Accepted file types" element behaves weirdly on the form, but that's already reported separately at MDL-61823

        1. 84752 peer review - 404 test.png
          155 kB
          Andrew Gosali
        2. 84752 peer review - 405 test.png
          148 kB
          Andrew Gosali
        3. 84752 peer review - main test.png
          143 kB
          Andrew Gosali
        4. confirm1.png
          25 kB
          Stevani Andolo
        5. confirm2.png
          38 kB
          Stevani Andolo
        6. confirm3.png
          105 kB
          Stevani Andolo
        7. confirm4.png
          61 kB
          Stevani Andolo
        8. confirm6.png
          90 kB
          Stevani Andolo
        9. labels displayed.png
          36 kB
          Jun Pataleta
        10. Screenshot 2025-06-11 at 22-22-14 Editing an Essay question Moodle Master.png
          15 kB
          Paul Holden
        11. Screenshot from 2025-03-06 08-50-04.png
          171 kB
          Paul Holden

            pholden Paul Holden
            pholden Paul Holden
            Andrew Gosali Andrew Gosali
            Jun Pataleta Jun Pataleta
            Stevani Andolo Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 10 minutes
                3h 10m

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