]> git.mjollnir.org Git - moodle.git/commitdiff
Accessibility: incidental image - should be empty Alt text; removed unnecessary heigh...
authornfreear <nfreear>
Thu, 16 Mar 2006 11:51:19 +0000 (11:51 +0000)
committernfreear <nfreear>
Thu, 16 Mar 2006 11:51:19 +0000 (11:51 +0000)
blocks/site_main_menu/block_site_main_menu.php

index 9df47dfe9b8ea02050eec83a2cc3950777c6769d..9c945193d76d457091bfff4a3c78ced164f2a97e 100644 (file)
@@ -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="" />';
                     }
                 }
             }