From d27c60a90a422c895ff58a2357f00c01fd107bc9 Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Mon, 7 Dec 2020 01:43:45 +1100 Subject: [PATCH] MDL-70173 dashboard: ARIA role presentation conflicted the empty alt The markup 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". --- .../templates/recentlyaccessedcourses-view.mustache | 3 +-- blocks/timeline/templates/event-list.mustache | 3 +-- blocks/timeline/templates/view-courses.mustache | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/blocks/recentlyaccessedcourses/templates/recentlyaccessedcourses-view.mustache b/blocks/recentlyaccessedcourses/templates/recentlyaccessedcourses-view.mustache index 9a0bdb4db2c..0b2ef5d4eaf 100644 --- a/blocks/recentlyaccessedcourses/templates/recentlyaccessedcourses-view.mustache +++ b/blocks/recentlyaccessedcourses/templates/recentlyaccessedcourses-view.mustache @@ -45,8 +45,7 @@ diff --git a/blocks/timeline/templates/event-list.mustache b/blocks/timeline/templates/event-list.mustache index 83c3b8aa3dd..999d1fba766 100644 --- a/blocks/timeline/templates/event-list.mustache +++ b/blocks/timeline/templates/event-list.mustache @@ -46,8 +46,7 @@