diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 6db714b5f9d..78e48e5877a 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -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'; }