From ae4086bd6e8469292820c26d24b95dfb2e9f469d 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 d317379ee1d..ac3b9268ee3 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1952,7 +1952,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));