diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 5f906948902..f75de0211ca 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -2526,7 +2526,6 @@ class core_renderer extends renderer_base { $attributes = array('src' => $src, 'class' => $class, 'width' => $size, 'height' => $size); if (!$userpicture->visibletoscreenreaders) { - $attributes['role'] = 'presentation'; $alt = ''; $attributes['aria-hidden'] = 'true'; }