[wp-trac] [WordPress Trac] #34142: Links with preventDefault() don't have action prevented in Customizer

WordPress Trac noreply at wordpress.org
Sat Apr 16 22:08:21 UTC 2016


#34142: Links with preventDefault() don't have action prevented in Customizer
--------------------------+-----------------------------
 Reporter:  Looimaster    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by celloexpressions):

 * keywords:   => close


Comment:

 @westonruter do we need to keep this ticket open? I think the best
 solution on the theme side is to use semantic elements such as `<button>`
 for non-link links, since empty links are discouraged anyway.

 Aside: the code noted above prevents content skiplinks from working (such
 as the table of contents links on developer.wordpress.org); in fact, they
 eventually redirect to the front page. Probably want a new ticket for
 that.

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


More information about the wp-trac mailing list