Accessibility: set heading to be <label> for search box
authorTom Gilder <tomgilder@users.mediawiki.org>
Sat, 22 Jan 2005 12:31:26 +0000 (12:31 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Sat, 22 Jan 2005 12:31:26 +0000 (12:31 +0000)
skins/MonoBook.php

index ca6f2fd..df08469 100644 (file)
@@ -126,7 +126,7 @@ class MonoBookTemplate extends QuickTemplate {
          </div>
        </div>
        <div id="p-search" class="portlet">
-         <h5><?php $this->msg('search') ?></h5>
+         <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5>
          <div class="pBody">
            <form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform">
              <input id="searchInput" name="search" type="text"