diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index b12c2e9e9df..3ff79905ba7 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -2522,7 +2522,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'; }