Browse files

Accessibility: strict, removed unnecessary alt="search" from <input t…

…ype="text">.
  • Loading branch information...
1 parent eab1f9a commit c14d1001612d011ddcada0bd400f77ec2884419c nfreear committed Mar 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/search_forums/block_search_forums.php
View
2 blocks/search_forums/block_search_forums.php
@@ -30,7 +30,7 @@ function get_content() {
$this->content->text = '<div class="searchform">';
$this->content->text .= '<form name="search" action="'.$CFG->wwwroot.'/mod/forum/search.php" style="display:inline">';
$this->content->text .= '<input name="id" type="hidden" value="'.$this->instance->pageid.'" />'; // course
- $this->content->text .= '<input name="search" type="text" size="16" value="" alt="search" />';
+ $this->content->text .= '<input name="search" type="text" size="16" value="" />';
$this->content->text .= '<button type="submit" title="'.get_string('search').'"><img src="'.$CFG->pixpath.'/a/r_go.gif" alt="" class="resize" /><span class="accesshide">'.get_string('search').'</span></button><br />';
$this->content->text .= '<a href="'.$CFG->wwwroot.'/mod/forum/search.php?id='.$this->instance->pageid.'">'.$advancedsearch.'</a>';
$this->content->text .= helpbutton('search', $advancedsearch, 'moodle', true, false, '', true);

0 comments on commit c14d100

Please sign in to comment.