From 006d348624061d734b0cc89b386924b88d19fefd Mon Sep 17 00:00:00 2001 From: Peter Dias Date: Thu, 5 Mar 2020 13:21:43 +0800 Subject: [PATCH] MDL-68014 lti: Remove alt text for image --- mod/lti/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php index 6fff3c1a421..d8e1ef8d730 100644 --- a/mod/lti/locallib.php +++ b/mod/lti/locallib.php @@ -2199,7 +2199,7 @@ function lti_get_configured_types($courseid, $sectionreturn = 0) { if (empty($ltitype->icon)) { $type->icon = $OUTPUT->pix_icon('icon', '', 'lti', array('class' => 'icon')); } else { - $type->icon = html_writer::empty_tag('img', array('src' => $ltitype->icon, 'alt' => $ltitype->name, 'class' => 'icon')); + $type->icon = html_writer::empty_tag('img', array('src' => $ltitype->icon, 'alt' => '', 'class' => 'icon')); } $type->link = new moodle_url('/course/modedit.php', array('add' => 'lti', 'return' => 0, 'course' => $courseid, 'sr' => $sectionreturn, 'typeid' => $ltitype->id));