-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.4, 4.1, 4.1.4
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
MDL-76123-401 -
In the file '/course/format/templates/local/content/cm/cmname.mustache' there this the markup:
<img src="{{{icon}}}" class="activityicon " alt="{{modname}} icon">
The 'alt' attribute is used to provide a human language alternative description of the image, and yet here there are hard coded English words used, so 'icon' and the templated module name, which will also be English, such as 'forum'. For example, 'icon' in Welsh is 'eicon'. Therefore this needs fixing to something like:
<img src="{{{icon}}}" class="activityicon" alt="{{pluginname}}">
where the templated 'pluginname' will change as the language changes.
Note: Tracker text editor may have messed with the curly brackets.
- has been marked as being related by
-
MDL-78708 As a student you can click on an icon of a restricted activity when you shouldn't
-
- Closed
-
-
MDL-74272 Reassess the inclusion of the plugin name on the course page
-
- Closed
-
- is duplicated by
-
MDL-78694 course page: present alt text in the navigation language
-
- Closed
-