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

Accessibility issue - Report builder form fieldsets without legends

XMLWordPrintable

    • WP Sprint 2023-I4.3, WP Sprint 2024-I1.0 (Clones)

      This issue was detected during accessibility audit on learner-facing pages in Workplace performed in August-September 2023 by AbleDocs.

      Fieldsets are present in the filters dropdown without corresponding legends. Note that the legend must be the first element of the fieldset. Using a FIELDSET without the LEGEND is a failure under H71.

      In the reportbuilder filters form we use "group" element to group together controls so we can display them in one line. The group element uses fieldset for it - https://github.com/moodle/moodle/blob/v4.3.0/lib/form/templates/element-group.mustache#L10-L20 . Since we do not add a legend, it fails accessibility audit.

      It looks like this is a generic problem in Moodle. Another place where AbleDocs raised the same issue is the button group:

        1. fig1101.png
          fig1101.png
          15 kB
        2. fig1401.png
          fig1401.png
          9 kB
        3. MDL-80192_fieldset_legend_check.png
          MDL-80192_fieldset_legend_check.png
          348 kB
        4. myteamsfilter.png
          myteamsfilter.png
          81 kB
        5. MDL-80192.png
          MDL-80192.png
          696 kB

            pholden Paul Holden
            marina Marina Glancy
            Pedro Jordao Pedro Jordao
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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