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

ARIA role presentation conflicts with the empty alt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.10.1
    • Accessibility
    • 1

    Description

      The markup <img role="presentation" alt="alt text"> is contradictory.

      According to https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/presentation/PresentationRoleExamples.html, it is recommended that authors instead use empty alt text (alt="") where they use role="presentation".

      There are places such asĀ blocks/recentlyaccesseditems/templates/no-items.mustache and course/templates/no-courses.mustache that are using 'role="presentation"' with non-empty alt.

      Attachments

        Issue Links

          Activity

            People

              jpataleta Jun Pataleta
              rezaie9 Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

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