MDL-70829 mod_workshop: Mark up decorative images properly

* Decorative images should have an empty alt text and there's no need
to set a presentation role.
This commit is contained in:
Jun Pataleta
2024-04-12 11:13:13 +08:00
parent f0aa5e9668
commit ca0e61a79d
+1 -1
View File
@@ -308,7 +308,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
if ($phase->active) {
// Mark the section as the current one.
$icon = $this->output->pix_icon('i/marked', '', 'moodle', ['role' => 'presentation']);
$icon = $this->output->pix_icon('i/marked', '');
$actions .= get_string('userplancurrentphase', 'workshop').' '.$icon;
} else {