Skip to content

Commit

Permalink
MDL-70829 mod_workshop: Mark up decorative images properly
Browse files Browse the repository at this point in the history
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
  • Loading branch information
junpataleta committed Apr 12, 2024
1 parent 020756e commit 013d68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/renderer.php
Expand Up @@ -308,7 +308,7 @@ protected function render_workshop_user_plan(workshop_user_plan $plan) {

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 {
Expand Down

0 comments on commit 013d68a

Please sign in to comment.