MDL-30837 Accessibility: removed navigation icons default alt text

This commit is contained in:
Frederic Massart
2012-06-05 09:11:46 +08:00
parent 4db061680e
commit 775fe70093
+1 -1
View File
@@ -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) {