Merge branch 'MDL-68135-master' of git://github.com/rezaies/moodle

This commit is contained in:
Jake Dallimore 2020-03-24 12:10:33 +08:00
commit 82a1e8da34

View File

@ -2525,7 +2525,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';
}