MDL-46206 Accessibility: Add aria role to footer image

This commit is contained in:
Jason Fowler
2014-07-25 14:37:29 +08:00
committed by Jetha Chan
parent 36489c0b41
commit ae4086bd6e
+1 -1
View File
@@ -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));