[wp-trac] [WordPress Trac] #33952: get_search_form() accessibility improvements

WordPress Trac noreply at wordpress.org
Mon Jan 4 21:33:53 UTC 2016


#33952: get_search_form() accessibility improvements
---------------------------+--------------------------------
 Reporter:  afercia        |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.5
Component:  Bundled Theme  |     Version:  3.6
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  ui, accessibility
---------------------------+--------------------------------
Changes (by afercia):

 * version:  4.3 => 3.6
 * milestone:  Awaiting Review => 4.5


Comment:

 Discussed in today's accessibility weekly chat. Decided to make just a
 first step and propose to remove just the title attribute. There's room
 for further improvements, for example about the placeholder that should be
 optional. The plan is to evaluate them as part of a more general approach
 in #31818.

 For some background, the title attribute was added in [23801] see the
 related ticket #16539 for the argumentation related to issues with very
 old browser/screen reader combos (Jaws7/IE6).

 Wort reminding `get_search_form()` is used both in the admin and by
 themes/plugins and for themes and plugins we can't predict if the label
 will be visible or hidden, same for the submit button etc. There's also
 the `get_search_form` filter to consider, for example Twenty Fifteen uses
 the filter to hide the submit button with `screen-reader-text` while
 Twenty Sixteen uses its own template in `searchform.php`.

 Would also encourage bundled themes to remove the title attribute :) cc
 @karmatosed

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33952#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list