diff --git a/course/lib.php b/course/lib.php index a23096959c3..3bcfd8a2b7b 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1158,12 +1158,19 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, } } else { // Normal activity + + if ($USER->screenreader) { + $typestring = '('.get_string('modulename',$mod->modname).') '; + } else { + $typestring = ''; + } + $linkcss = $mod->visible ? "" : " class=\"dimmed\" "; echo ''.$mod->modfullname.''. ' '. - $instancename.''; + $typestring.$instancename.''; } if ($usetracking && $mod->modname == 'forum') { $groupmode = groupmode($course, $mod);