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

Messaging drawer missing levels of headings in search results

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-72923-M403
    • MDL-72923-master
    • Hide
      1. Login as a Moodle administrator.
      2. Create 3 users whose first name are identical but whose last name is different.
      3. Go to Site Administration > Messaging > Messaging Settings and ensure that Enable Messaging System and Allow site-wide messaging are enabled. Save if you made any changes.
      4. Open the messaging drawer.
      5. Search for the first name of the 3 users you created in step 1.
      6. Add at least one of those people to your contacts.
      7. Login as the user that you added to your contacts accept the contact request in the messaging drawer.
      8. Login the original Moodle administrator.
      9. Open the messaging drawer.
      10. Search for the first name of the 3 users you created in step 1.
      11. You should now see two headings with users below each of them: Contacts and Non-Contacts.
      12. VERIFY: Just before the close button at the top, you should now see a new H2 level heading.
      13. VERIFY: The Contacts heading is now an H3 level headings.
      14. VERIFY: The Non-Contacts heading is now an H3 level headings.
      Show
      Login as a Moodle administrator. Create 3 users whose first name are identical but whose last name is different. Go to Site Administration > Messaging > Messaging Settings and ensure that Enable Messaging System and Allow site-wide messaging are enabled. Save if you made any changes. Open the messaging drawer. Search for the first name of the 3 users you created in step 1. Add at least one of those people to your contacts. Login as the user that you added to your contacts accept the contact request in the messaging drawer. Login the original Moodle administrator. Open the messaging drawer. Search for the first name of the 3 users you created in step 1. You should now see two headings with users below each of them: Contacts and Non-Contacts. VERIFY : Just before the close button at the top, you should now see a new H2 level heading. VERIFY : The Contacts heading is now an H3 level headings. VERIFY : The Non-Contacts heading is now an H3 level headings.

      The messaging drawer includes several h4 sub-headings when displaying search results but lacks a heading itself - even a hidden one. As a result, there are missing levels of heading which is an accessibility issue.

      In the following screenshot, Non-contacts is an h4 level heading. There are no h3 or even h2 level headings above it:

            michael-milette Michael Milette
            michael-milette Michael Milette
            Meirza Meirza
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 25 minutes
                2h 25m

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