MDL-48394 core_renderers: remove role=presentation on user picture links

This commit is contained in:
Jetha Chan
2014-11-27 15:34:10 +08:00
parent 702e65c9ed
commit 1cd8f3c645
-1
View File
@@ -2372,7 +2372,6 @@ class core_renderer extends renderer_base {
$attributes = array('href'=>$url);
if (!$userpicture->visibletoscreenreaders) {
$attributes['role'] = 'presentation';
$attributes['tabindex'] = '-1';
$attributes['aria-hidden'] = 'true';
}