[wp-trac] [WordPress Trac] #42057: Add ability to pass a label for the <form> element returned by get_search_form()
WordPress Trac
noreply at wordpress.org
Thu Mar 21 09:19:20 UTC 2019
#42057: Add ability to pass a label for the <form> element returned by
get_search_form()
-------------------------------------------+-----------------------------
Reporter: williampatton | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: General | Version: 4.8.2
Severity: normal | Resolution: fixed
Keywords: dev-feedback has-patch commit | Focuses: accessibility
-------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"44956" 44956]:
{{{
#!CommitTicketReference repository="" revision="44956"
Accessibility: Add ability to pass an ARIA label for the `<form>` element
returned by `get_search_form()`.
This allows screen readers to properly announce each search landmark
region independently.
Introduce `search_form_args` filter for the arguments used when generating
the search form.
Props afercia, williampatton.
Fixes #42057.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42057#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list