#13207 closed enhancement (duplicate)
Twenty Ten: searchform.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Themes | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
get_search_form()
default:
`<form role="search" method="get" id="searchform" action="http://localhost/" >
<div>
<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>`
Twenty Ten searchform.php:
`<form id="searchform" name="searchform" method="get" action="http://localhost/">
<div>
<label for="s">Search</label>
<input type="text" id="s" name="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>`
Rather than came up with useless patches for this, do we actually need 2010 own search form template? see: searchform.php
The only different that I can see is the text for the label, role and additional class screen-reader-text (which I believe is missing from 2010 searchform.php).
Thoughts?
Also please look: http://core.trac.wordpress.org/ticket/12961
Duplicate: #13053