[wp-trac] [WordPress Trac] #19164: Invalid markup in admin bar search

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 6 17:23:41 UTC 2011


#19164: Invalid markup in admin bar search
----------------------------+------------------
 Reporter:  scribu          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by azaozz):

 HTML 5.0 allows blocks inside <a> tags, but doesn't seem <form> or <input>
 is allowed. Also some browsers seem to handle that by auto-correcting the
 html, splitting the link and wrapping each inline element inside the block
 with an <a>.

 In any case having an <input> inside a link confuses the browser when
 tabbing/setting focus.

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


More information about the wp-trac mailing list