mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Accessibility: incidental image - should be empty Alt text; removed unnecessary height/width (OU-Bugz: 696, 697)
This commit is contained in:
parent
c14d100161
commit
2e94cf0c09
@ -109,7 +109,8 @@ class block_site_main_menu extends block_list {
|
||||
} else {
|
||||
$this->content->items[] = '<a title="'.$mod->modfullname.'" '.$linkcss.' '.$extra.
|
||||
' href="'.$CFG->wwwroot.'/mod/'.$mod->modname.'/view.php?id='.$mod->id.'">'.$instancename.'</a>'.$editbuttons;
|
||||
$this->content->icons[] = '<img src="'.$icon.'" height="16" width="16" alt="'.$mod->modfullname.'" />';
|
||||
//Accessibility: incidental image - should be empty Alt text; removed unnecessary height/width.
|
||||
$this->content->icons[] = '<img src="'.$icon.'" alt="" />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user