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

ALT text missing for Course Image in all course listings

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-68188-master
    • Hide

      There is no possible workaround as the course image settings does not yet include a field for alternative text.

      Show
      There is no possible workaround as the course image settings does not yet include a field for alternative text.
    • Hide
      1. Navigate to Site Administration > Front Page > Front Page Settings
      2. Under "Front Page Items When Logged In" set a field to: "List of Courses"
      3. Create a new course.
      4. Add a course image in the course settings and save.
      5. Navigate back to the homepage
      6. View the HTML for the image. Verify the alt text is "Course image"
      Show
      Navigate to Site Administration > Front Page > Front Page Settings Under "Front Page Items When Logged In" set a field to: "List of Courses" Create a new course. Add a course image in the course settings and save. Navigate back to the homepage View the HTML for the image. Verify the alt text is "Course image"

    Description

      The course image does not have an ALT text tag. This affects:

      • Course listings on the Front Page (Home)
      • Category course listings
      • Course search results
      • Dashboard: Recently accessed courses section
      • Dashboard: Course overview section

      This fails WCAG 2.1 Level AA accessibility testing, specifically Guideline 1.1 Text Alternative. For more information, see https://www.w3.org/TR/WCAG21/#text-alternatives

      Note: Course images may or may not contain text and therefore an option to specify alternative text is required.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael-milette Michael Milette
            Michael Milette Michael Milette
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            10 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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