1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

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-03-18 21:00:29 +08:00
parent 020756e0f1
commit 013d68a7ad
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

@ -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 {