diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index bbc616fe954..91afb0c70ac 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1956,7 +1956,7 @@ class core_renderer extends renderer_base { public function doc_link($path, $text = '', $forcepopup = false) { global $CFG; - $icon = $this->pix_icon('docs', $text, 'moodle', array('class'=>'iconhelp icon-pre')); + $icon = $this->pix_icon('docs', '', 'moodle', array('class'=>'iconhelp icon-pre', 'role'=>'presentation')); $url = new moodle_url(get_docs_url($path));