Skip to content

Commit

Permalink
MDL-68014 lti: Remove alt text for image
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Dias committed Mar 5, 2020
1 parent d737452 commit 006d348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lti/locallib.php
Expand Up @@ -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));
Expand Down

0 comments on commit 006d348

Please sign in to comment.