mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 09:19:18 -04:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user