From ec085021f23a7cd5e1510665fbb604d2fbcc6759 Mon Sep 17 00:00:00 2001 From: Jason Fowler Date: Mon, 21 Jul 2014 08:19:08 +0800 Subject: [PATCH] MDL-46206 Accessibility: Add aria role to footer image --- lib/outputrenderers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 148428770e7..4e381927ac4 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1921,7 +1921,7 @@ class core_renderer extends renderer_base { public function doc_link($path, $text = '', $forcepopup = false) { global $CFG; - $icon = $this->pix_icon('docs', '', '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));