Commit Graph

5 Commits

Author SHA1 Message Date
Lance Willett 7ed3c58e23 Search form improvements:
- Add "searchform" class to form element, easier styling
- Better gettext for label, placeholder, and submit text, easier for translators
- Remove "name" attribute from submit button, not needed and it adds cruft to URL

See also http://core.trac.wordpress.org/ticket/15081
2013-02-27 14:49:26 -07:00
Takashi Irie ed6a89fa20 Change the search form text input to search type and add the basic style for it 2013-02-27 20:26:16 +00:00
Konstantin Kovshenin 6fe882a2df Adding current search query to searchform.php
It may be useful to display what the user searched for in the search input, especially on pages like no-results.php where the search query is not displayed anywhere.
2012-08-14 10:36:37 +04:00
Ian Stewart 4c4c3e6d3b added 'search' ARIA role on searchform.php
http://www.w3.org/TR/wai-aria/roles#search
Signed-off-by: Brett Taylor <brett@webfroot.co.nz>

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8954 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-16 17:19:39 +00:00
Ian Stewart a81dc6a810 _s: Adding starter styles along with a few markup changes to accomodate them 2012-01-13 20:10:17 +00:00