MDL-30837 Accessibility: removed navigation icons default alt text

This commit is contained in:
Frederic Massart
2012-06-05 09:20:11 +08:00
parent a6dfc10bb0
commit 4ebf4efde8
+1 -1
View File
@@ -153,7 +153,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) {