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:
parent
020756e0f1
commit
013d68a7ad
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user