[wp-trac] [WordPress Trac] #16539: Duplicate search widgets cause ID conflicts

WordPress Trac noreply at wordpress.org
Fri Mar 22 19:17:05 UTC 2013


#16539: Duplicate search widgets cause ID conflicts
-------------------------------------+------------------
 Reporter:  solarissmoke             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.6
Component:  Widgets                  |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |
-------------------------------------+------------------

Comment (by azaozz):

 > There is a small window of opportunity here to remove the id's on the
 'html5' version...

 This is the best approach imho. There's no need to use IDs for styling. If
 we need to generate IDs for connecting <label> to <input> (think that was
 a requirement for some screen readers), we can keep that part, i.e. only
 keep `$text_id` in `get_search_form()` in the patch.

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


More information about the wp-trac mailing list