[wp-trac] [WordPress Trac] #60139: Clean up ClipboardJS instances from focus management workaround

WordPress Trac noreply at wordpress.org
Thu Dec 28 15:25:42 UTC 2023


#60139: Clean up ClipboardJS instances from focus management workaround
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  afercia
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  6.5
Component:  External Libraries       |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch has-testing-   |     Focuses:  accessibility,
  info commit                        |  javascript
-------------------------------------+-------------------------------------
Changes (by afercia):

 * owner:  (none) => afercia
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57231" 57231]:
 {{{
 #!CommitTicketReference repository="" revision="57231"
 External Libraries: Accessibility: Clean up `clipboard.js` Copy buttons
 from focus management workaround.

 `clipboard.js` used to suffer from a bug that triggered a focus loss when
 activating the Copy buttons. The bug was fixed a while ago with the
 `clipboard.js` 2.0.11 release so that the workaround implemented in
 WordPress is no longer necessary.

 Props dhrumilk, paulkevan, afercia.
 Fixes #60139.
 }}}

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


More information about the wp-trac mailing list