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

Nested h1 tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: General, Themes
    • Labels:
    • Testing Instructions:
      Hide
      1. With the theme Clean, visit someone's profile
      2. Inspect the HTML and confirm that the User header does not contain nested H1 tags
      3. Repeat the check on the front page
      4. Edit bootstrapbase/config.php and change the layout file of the frontpage to 'maintenance.php'
      5. Confirm that the front page header is well formatted
      6. Set $CFG->maintenance_mode = true; in your config file
      7. As a non-admin user, head to the my/ page and confirm that you don't see any extra notice (you'll see one about the context not being defined)
      8. Repeat after setting a logo in the settings of Clean. The logo will be displayed instead of the header.
      Show
      With the theme Clean, visit someone's profile Inspect the HTML and confirm that the User header does not contain nested H1 tags Repeat the check on the front page Edit bootstrapbase/config.php and change the layout file of the frontpage to 'maintenance.php' Confirm that the front page header is well formatted Set $CFG->maintenance_mode = true; in your config file As a non-admin user, head to the my/ page and confirm that you don't see any extra notice (you'll see one about the context not being defined) Repeat after setting a logo in the settings of Clean. The logo will be displayed instead of the header.
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49923-master

      Description

      On most pages the h1 tag (mostly containing the site fullname) is nested directly within another h1 tag. This is a HTML validation issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15