[wp-trac] [WordPress Trac] #16538: Add placeholder attribute to search field

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 12 11:35:43 UTC 2011


#16538: Add placeholder attribute to search field
-------------------------+------------------------------
 Reporter:  cyberskull   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  UI           |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by cyberskull):

 Replying to [comment:4 ocean90]:
 > You can change the form with the ''get_search_form'' filter. So if you
 have a theme with HTML5 doctype you can add the new attribute.
 >
 > In my opinion it's too soon to add HTML5 attributes into the core.

 The attribute {{{type="search"}}} is an [http://www.w3.org/TR/html5
 /states-of-the-type-attribute.html#text-state-and-search-state HTML5
 attribute] and is already in core.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16538#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list