MDL-30837 Accessibility: removed navigation icons default alt text
This commit is contained in:
@@ -150,7 +150,7 @@ class navigation_node implements renderable {
|
||||
$this->shorttext = $properties['shorttext'];
|
||||
}
|
||||
if (!array_key_exists('icon', $properties)) {
|
||||
$properties['icon'] = new pix_icon('i/navigationitem', 'moodle');
|
||||
$properties['icon'] = new pix_icon('i/navigationitem', '');
|
||||
}
|
||||
$this->icon = $properties['icon'];
|
||||
if ($this->icon instanceof pix_icon) {
|
||||
|
||||
Reference in New Issue
Block a user