com web/php: search field needs a label or a title for accessibility reasons: include/layout.inc
| From: | Hannes Magnusson | Date: | Tue, 25 Jun 2013 21:00:37 +0000 |
| Subject: | com web/php: search field needs a label or a title for accessibility reasons: include/layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16134@lists.php.net to get a copy of this message | ||
Commit: d1583fc085300a78ae1c6db6b942d3216893039e
Author: Owen McKenna <owenmck@gmail.com> Mon, 24 Jun 2013 23:18:32 +1000
Committer: Hannes Magnusson <bjori@10gen.com> Tue, 25 Jun 2013 14:00:37 -0700
Parents: ad811fd5a64038c6cc49c3e63bf971af5128fd61
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d1583fc085300a78ae1c6db6b942d3216893039e
Log:
search field needs a label or a title for accessibility reasons
Changed paths:
M include/layout.inc
Diff:
diff --git a/include/layout.inc b/include/layout.inc
index f77c515..d580c4c 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -255,7 +255,7 @@ function site_header($title = '', $config = array())
<span title="Keyboard shortcut: Alt+S (Win), Ctrl+S (Apple)">
<span class="shortkey">s</span>earch for
</span>
- <input type="text" name="pattern" value="" size="30"
accesskey="s" />
+ <input type="text" name="pattern" value="" size="30"
accesskey="s" title="Search"/>
<span>in the</span>
<select name="show">
<option value="all" >all php.net sites</option>