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

Orphaned label elements in the group selector

XMLWordPrintable

    • 2
    • Team Hedgehogs 2025 Sprint 2.2

      From the audit results for the assignment submissions page, where a group selector is present:

      The "Select visible groups" and "Status" elements have an orphan label.

      There is an aria-hidden label element in the core_group/comboboxsearch/group_selector template. If this is not meant to be a real label associated with a form element, it may be better to change this to a <span> tag or something instead of a <label> tag.

      To reproduce:

      1. Create a course with groups.
      2. Enrol some students in the course and add them to the groups
      3. Create an assignment with the group mode set to visible groups
      4. As a teacher go to the Submissions tab of the assignment.
      5. Run WAVE on the page.
      6. Expected: There should be no warnings related to orphaned labels.
      7. Actual: There are warnings about orphaned labels in the "Select visible groups" and "Status" filters.

            yusuf.wibisono@moodle.com Yusuf Wibisono
            jpataleta Jun Pataleta
            Meirza Meirza
            David Woloszyn David Woloszyn
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 31 minutes
                1d 2h 31m

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