summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-11-22 18:39:47 +0000
committerChad Kieffer <chad@2tbsp.com>2008-11-22 18:39:47 +0000
commitbb6eeb63bbf95d82fd811f34f358a4f64ae66d79 (patch)
tree19542ecd67b9b181171ec6ab3ded03cf445d8ba7
parent60284479936d65443bd5dc14456bc0b692eab500 (diff)
Added a label for the search form. Even if we place labels in text input fields as we currently do w/ the search form, a label should be included to maintain accessibility. Set label display to none if it shouldn't be displayed.
-rw-r--r--themes/default/views/header.html.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php
index 348111a4..9dba9c71 100644
--- a/themes/default/views/header.html.php
+++ b/themes/default/views/header.html.php
@@ -1,6 +1,5 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<img id="gLogo" alt="<?= _("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" />
-<h1><?= $item->title_edit ?></h1>
<?= View::top($theme) ?>
@@ -16,7 +15,7 @@
<form id="gSearchForm" class="gInline">
<ul class="gNoLabels">
- <li><input type="text" value="<?= _("Search Gallery ...") ?>"/></li>
+ <li><label for="search">Search</label><input type="text" name="search" value="<?= _("Search Gallery ...") ?>"/></li>
<li><input type="submit" value="<?= _("search") ?>" /></li>
</ul>
</form>