Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27843 META: Accessibility compliance for 2.x
  3. MDL-30905

empty heading tags in recent activity page

XMLWordPrintable

    • MOODLE_21_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MDL-30905-master
    • Hide

      Testing level: Moderate (need small code hack)

      1. Create a new course, and turn editing on.
      2. In the top section (the one with the default 'News Forum'), create an online-text assignment called 'Test 1'.
      3. In the same section, create a forum called 'Test 2' and hide it.
      4. In any other section, create a forum called 'Test 3', and a hidden online-text assignment called 'Test 4'.
      6. Go to the 'Full report of recent activity' (link in recent activity block)
      7. Make sure that:

      • The page looks good
      • There is not empty <h2> tag in the first section containing Test 1 and Test 2
      • The name of the second section is displayed in an <h2> tag
      • Test 2 and Test 4 have the class 'dimmed'

      8. Hack the code of course/recent.php and look for the line

      if (!empty($activities)) {

      replace it with

      if (false && !empty($activities)) {

      9. Refresh the recent activity page, and make sure that 'No recent activity' appears centered on the page.
      10. Check step 7 and 9 with a few other themes.

      Show
      Testing level: Moderate (need small code hack) 1. Create a new course, and turn editing on. 2. In the top section (the one with the default 'News Forum'), create an online-text assignment called 'Test 1'. 3. In the same section, create a forum called 'Test 2' and hide it. 4. In any other section, create a forum called 'Test 3', and a hidden online-text assignment called 'Test 4'. 6. Go to the 'Full report of recent activity' (link in recent activity block) 7. Make sure that: The page looks good There is not empty <h2> tag in the first section containing Test 1 and Test 2 The name of the second section is displayed in an <h2> tag Test 2 and Test 4 have the class 'dimmed' 8. Hack the code of course/recent.php and look for the line if (!empty($activities)) { replace it with if (false && !empty($activities)) { 9. Refresh the recent activity page, and make sure that 'No recent activity' appears centered on the page. 10. Check step 7 and 9 with a few other themes.

      There are empty heading tags on this page that have no content. They need to be removed.

            fred Frédéric Massart
            gdkraus Greg Kraus (Inactive)
            Sam Hemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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