MDL-46206 Accessibility: Add aria role to footer image

This commit is contained in:
Jason Fowler
2014-07-25 14:36:06 +08:00
committed by Jetha Chan
parent 1c9e079b7c
commit ec085021f2
+1 -1
View File
@@ -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));