1 The default searchform.tmpl looks rather bare and unintuitive with just an input field.
3 The patch below adds a label for the field to improve usability:
5 --- templates/searchform.tmpl.orig Fri Jun 15 15:02:34 2007
6 +++ templates/searchform.tmpl Fri Jun 15 15:02:41 2007
8 <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
10 +<label for="phrase">Search:</label>
11 <input type="text" name="phrase" value="" size="16" />
12 <input type="hidden" name="enc" value="UTF-8" />
13 <input type="hidden" name="do" value="hyperestraier" />
15 > I don't do this by default because putting in the label feels to me make
16 > the action bar too wide. YMMV. What I'd really like to do is make the
17 > _content_ of the search field say "search". You see that on some other
18 > sites, but so far the only way I've seen to do it is by inserting a
19 > nasty lump of javascript. --[[Joey]]
21 >> Please don't do that, it is a bad idea on so many levels :) See e.g.
22 >> <http://universalusability.com/access_by_design/forms/auto.html> for
23 >> an explanation why. --[[HenrikBrixAndersen]]