MDL-48394 core_renderers: remove role=presentation on user picture links
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user