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

WordPress Trac noreply at wordpress.org
Fri Dec 22 11:21:27 UTC 2023


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

 * keywords:  needs-patch => has-patch


Comment:

 Test instructions for [attachment:"60139.diff"]

 Test the patch in a couple places where there is a 'Copy' button for
 example:
 - Go to Tools > Site Health > Info
 - Use the keyboard to move focus to the 'Copy site info to clipboard'
 button.
 - Activate the button by pressing the Enter or Spacebar keys.
 - Observe focus stays on the button.
 - Go to Media > List view
 - Move focus to one of the attachments 'Copy URL' button in the Quick
 actions.
 - Activate the button by pressing the Enter or Spacebar keys.
 - Observe focus stays on the button.
 - Go to Media > Grid view
 - Open one of the attachments modal dialog details.
 - Move focus to the 'Copy URL to clipboard' button.
 - Activate the button by pressing the Enter or Spacebar keys.
 - Observe focus stays on the button.

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


More information about the wp-trac mailing list