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

Add a legend to the Submit-cancel button group

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80469-403
    • Hide

      Note that there are no changes in 4.4 (main) since it is addressed in MDL-80431

      1. Login as any user and open your profile, click "Edit"
      2. Find the buttons ("Submit"/"Cancel") in the bottom and inspect the source code
      3. Make sure there is a 'legend' tag under the fieldset that reads "Form actions"
      4. Repeat for the form to create a course module and/or create a course
      Show
      Note that there are no changes in 4.4 (main) since it is addressed in MDL-80431 Login as any user and open your profile, click "Edit" Find the buttons ("Submit"/"Cancel") in the bottom and inspect the source code Make sure there is a 'legend' tag under the fieldset that reads "Form actions" Repeat for the form to create a course module and/or create a course
    • WP Sprint 2024-I1.3 (Atlantic), WP Sprint 2024-I1.4 (Atlantic)

      See also MDL-80192 - using the tag <fieldset> without a legend fails accessibility audit.

      In MDL-80431 we will stop using the fieldset tag where it is not needed but we can not backport it because changing html tag may (and will) break addon themes and custom CSS.

      This issue is about adding a sr-only legend (probably saying "Actions") to all button groups in Moodle.

      Unfortunately this is a change that does not make much sense - it does not really help with the accessibility. But this is a compromise we need to make in order to pass accessibility audit and not break custom themes and CSS.

        1. 403.png
          403.png
          591 kB
        2. fig1401.png
          fig1401.png
          9 kB
        3. formactionslabel.png
          formactionslabel.png
          16 kB
        4. MDL-80469.png
          MDL-80469.png
          642 kB

            marina Marina Glancy
            marina Marina Glancy
            Stevani Andolo Stevani Andolo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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