Commit Graph

6 Commits

Author SHA1 Message Date
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