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

Fix header hierarchy for blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.0.10, 4.1.4
    • Accessibility, Blocks
    • None
    • MOODLE_400_STABLE, MOODLE_401_STABLE

      (Testing completed with WAVE by WebAIM. This is a free tool that can be used on any website to identify various accessibility issues.)

      The header hierarchy for blocks is not in the proper order and is causing issues with clients preparing to upgrade.

      In the context of the Dashboard, Dashboard is a H1. Therefore, block headers should be H2s, and headers within blocks should be H3.

      Specific examples are included below with images:

      • H5 is used for nearly all block titles
      • Latest badges example

      • Dashboard is an H1, so block titles should be H2
      • Headers for areas inside blocks should be H3
      • Problems identified in Calendar (H5 to H4)

      • Problems identified in Random Glossary block (H5 to H3)

       

      This same behavior persists in courses when blocks are used. As course titles are H1s, applying the same logic should suffice for other locations in which blocks are used.

            Unassigned Unassigned
            carli.cockrell@moodle.com Carli Cockrell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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