[wp-trac] [WordPress Trac] #19579: Make get_search_form() more filterable/extensible
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 16 16:02:37 UTC 2011
#19579: Make get_search_form() more filterable/extensible
-------------------------------------+------------------------------
Reporter: chipbennett | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by GaryJ):
Could you use `submit_button()`?
How about adding an [http://www.w3.org/TR/wai-aria/roles#search aria
landmark role] as a default? (And if that's added, then adding an ID to
the label (input field ID + '-label') and a `aria-labelledby` attribute to
the input field would also increase the accessibility potential.)
Is there not a existing WP function that can take an array of HTML
attributes name => value and build the string for you?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19579#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list