[wp-trac] [WordPress Trac] #48463: Copy link button in media

WordPress Trac noreply at wordpress.org
Wed Feb 5 21:26:01 UTC 2020


#48463: Copy link button in media
------------------------------+--------------------------------------------
 Reporter:  theolg            |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.4
Component:  Media             |     Version:  5.2
 Severity:  normal            |  Resolution:
 Keywords:  needs-design      |     Focuses:  ui, accessibility, javascript
  has-patch                   |
------------------------------+--------------------------------------------

Comment (by nrqsnchz):

 Thanks @xkon for the troubleshooting help! :D

 I'm able to properly test the patch now, and this is my feedback:

 1. The button needs to have a focus state, like any other button.
 2. When the button is clicked, focus is moved back to the URL field, this
 causes screen readers to **not** read the "Copied!"label. I think focus
 should stay on the button instead. What do you think @audrasjb?

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


More information about the wp-trac mailing list