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

Accessibility issues with missing form labels when adding essay question

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.6, 4.5.2
    • Accessibility, Questions

      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

            pholden Paul Holden
            pholden Paul Holden
            Andrew Gosali Andrew Gosali
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 46 minutes
                46m

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