Permalink
Browse files

Accessibility: incidental image - should be empty Alt text; removed u…

…nnecessary height/width (OU-Bugz: 696, 697)
  • Loading branch information...
1 parent c14d100 commit 2e94cf0c090706f46b9f43c0f8f2c7600d6b1f84 nfreear committed Mar 16, 2006
Showing with 2 additions and 1 deletion.
  1. +2 −1 blocks/site_main_menu/block_site_main_menu.php
View
3 blocks/site_main_menu/block_site_main_menu.php
@@ -109,7 +109,8 @@ function get_content() {
} 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="" />';
}
}
}

0 comments on commit 2e94cf0

Please sign in to comment.