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

All 'Add content' buttons on the course page have the same aria-label attribute

XMLWordPrintable

      • Create a course in 'topics' format with several sections
      • Inspect the "Add content" buttons, they all have aria-label="Insert content before '0'"

      This is coming from here

      https://github.com/moodle/moodle/blob/main/course/classes/output/activitychooserbutton.php#L78
      https://github.com/moodle/moodle/blob/main/course/templates/activitychooserbutton.mustache#L50

      Added in MDL-81767 in 4.5 when it was only used for modules. It looks like in 5.0 we started using this component for sections too

            pholden Paul Holden
            marina Marina Glancy
            Carlos Escobedo Carlos Escobedo
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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