Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…nnecessary height/width (OU-Bugz: 696, 697)
  • Loading branch information...
commit 2e94cf0c090706f46b9f43c0f8f2c7600d6b1f84 1 parent c14d100
nfreear authored
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="" />';
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.