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

Login form: "Log in using your account on:" should be h3, not h6

    XMLWordPrintable

Details

    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-68766-M39
    • MDL-68766-master
    • Easy
    • Hide

      Using a Moodle site which has been configured with OAuth2 (Google in this example) and has a related button visible on the login page:

      1. Go to the Moodle login page of your site.
      2. Using your web browse's developer tools, inspect the line above the Google button that says Log in using your account on:.
      3. This heading should now be an H3 with a class of H6 to ensure the text remains the same size visually:
        <h3 class="h6 mt-2">#str potentialidps, auth /str</h3>

      If this is what you see, the test has been a success.

      Show
      Using a Moodle site which has been configured with OAuth2 (Google in this example) and has a related button visible on the login page: Go to the Moodle login page of your site. Using your web browse's developer tools, inspect the line above the Google button that says  Log in using your account on: . This heading should now be an H3 with a class of H6 to ensure the text remains the same size visually: <h3 class="h6 mt-2"> #str potentialidps, auth /str </h3> If this is what you see, the test has been a success.

    Description

      The heading for the hasidentityproviders section of the /lib/templates/loginform.mustache is an H6. However, it is a sub-heading of login form's H2 section and should therefore be an H3 though it can still be styled with the font size of an H6.

      This is an accessibility issue and a failure of WCAG 2.1  Success Criterion 1.3.1: Info and Relationships. For more information, see technique H42: Using h1-h6 to identify headings.

       

      Attachments

        Activity

          People

            michael-milette Michael Milette
            michael-milette Michael Milette
            Neill Magill Neill Magill
            Adrian Greeve Adrian Greeve
            Mathew May Mathew May
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Nov/20

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m