Merge branch 'MDL-72412-master' of https://github.com/junpataleta/moodle

This commit is contained in:
Sara Arjona 2022-01-17 08:28:47 +01:00
commit bc771bdfd6
2 changed files with 2 additions and 2 deletions

View File

@ -101,6 +101,6 @@ class printable_test extends \advanced_testcase {
$object->set_filter($filter);
$output = $object->get_output();
$this->assertStringContainsString('<i class="icon fa fa-tachometer fa-fw " title="Total activities" '.
'aria-label="Total activities">', $output);
'role="img" aria-label="Total activities">', $output);
}
}

View File

@ -43,7 +43,7 @@
}}
{{^unmappedIcon}}
<i class="icon fa {{key}} fa-fw {{extraclasses}}" {{#aria-hidden}}aria-hidden="true"{{/aria-hidden}} {{#title}}title="{{title}}"{{/title}} {{#alt}}aria-label="{{alt}}"{{/alt}}></i>
<i class="icon fa {{key}} fa-fw {{extraclasses}}" {{#aria-hidden}}aria-hidden="true"{{/aria-hidden}} {{#title}}title="{{title}}"{{/title}} {{#alt}}role="img" aria-label="{{alt}}"{{/alt}}></i>
{{/unmappedIcon}}
{{#unmappedIcon}}
{{! We cannot include the pix_icon template directly here because we don't have all the mustache helpers loaded. }}