Skip to content

Commit

Permalink
Don't need presentation role.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jun 7, 2024
1 parent 5f951f2 commit 538964f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/course_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ protected function course_section_cm_image(cm_info $mod) {
$class .= ' custom';
}
$image = html_writer::img($srcurl, $mod->get_formatted_name(),
['class' => $class, 'alt' => ' ', 'role' => 'presentation']);
['class' => $class, 'alt' => ' ']);
return html_writer::tag('span',
$image, ['class' => 'mdl-align vsf-icon']);
}
Expand Down

0 comments on commit 538964f

Please sign in to comment.