Commit Graph

9 Commits

Author SHA1 Message Date
Gennady Kovshenin ddebe0f15f Extra single-quote in "Search"
A trailing singe-quote has found its way into the search button value,
resulting in the button displaying "Search'" instead of "Search".
2013-07-01 17:38:44 +06:00
obenland 6e22132768 _s: Update search form markup to make it forward compatible with HTML5
search form in 3.6. As a result, `searchfornm.php` can be safely
removed in the future. Also fixes #240.
2013-06-29 16:19:10 -04:00
Philip Arthur Moore fe19f5433b Ditch all @since DocBlocks from theme. 2013-03-18 14:53:23 -05:00
obenland 1ba2f62752 _s: Use .screen-reader-text rather than .assistive-text.
With 3.6 introducing many HTML5 improvements the need for custom
searchform and comment templates will vanish. To cope with core's
.screen-reader-text class, let's make the switch early.

Commit also adds core's focus styles for screen reader texts, so they
can actually be used.
2013-03-13 15:39:05 -07:00
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