From f17285be09e62fbf881de102e3f1bf3a16f35934 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Mon, 18 Mar 2024 21:26:07 +0800 Subject: [PATCH] MDL-70829 block_recentlyaccesseditems: Move listitem role out of * Axe DevTools flags an error on the recently accessed items block that the listitem role is not allowed for tags. This is because the "listitem" role will override the native semantic meaning of the course links. So the solution is to move the course links within a
tag with the listitem role instead. --- .../templates/view-cards.mustache | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/blocks/recentlyaccesseditems/templates/view-cards.mustache b/blocks/recentlyaccesseditems/templates/view-cards.mustache index 8c7395ff5fd..de8a35a3fd6 100644 --- a/blocks/recentlyaccesseditems/templates/view-cards.mustache +++ b/blocks/recentlyaccesseditems/templates/view-cards.mustache @@ -43,19 +43,21 @@
{{#items}} - -