-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.6, 4.2.3, 4.3
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MDL-80192-403 -
-
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:
- has a non-specific relationship to
-
MDL-67968 Calendar: New event: Accessibility issues
- Closed
- has been marked as being related by
-
MDL-80469 Add a legend to the Submit-cancel button group
- Closed
- has to be done before
-
MDL-80431 Do not use <fieldset> tag for form elements group that does not have a label
- Closed