MDL-68014 lti: Remove alt text for image

This commit is contained in:
Peter Dias 2020-03-05 13:21:43 +08:00
parent d7374522ed
commit 006d348624

View File

@ -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));