[wp-trac] [WordPress Trac] #33260: Customizer: misaligned Widgets reorder button

WordPress Trac noreply at wordpress.org
Wed Aug 5 21:58:22 UTC 2015


#33260: Customizer: misaligned Widgets reorder button
--------------------------+-----------------------
 Reporter:  afercia       |       Owner:  obenland
     Type:  defect (bug)  |      Status:  accepted
 Priority:  lowest        |   Milestone:  4.3
Component:  Customize     |     Version:  trunk
 Severity:  trivial       |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui
--------------------------+-----------------------

Comment (by afercia):

 Replying to [comment:17 obenland]:
 > Oh, he meant that the JS events attached to `.reorder-toggle` in `wp-
 admin/js/customize-widgets.php` should be reviewed. Switching it to a
 button with `type="button"` allows us to remove the keyboard event checks.
 That :) adding `type="button"` removes any default action (in any
 browsers) from buttons. So there's no need to prevent a non-existing
 default action.

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


More information about the wp-trac mailing list