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

WordPress Trac noreply at wordpress.org
Tue Jun 30 13:54:54 UTC 2020


#48463: Copy link button in media
-------------------------------------+-------------------------------------
 Reporter:  theolg                   |       Owner:  afercia
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.5
Component:  Media                    |     Version:  5.2
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch commit                       |  javascript
-------------------------------------+-------------------------------------

Comment (by afercia):

 In [changeset:"48234" 48234]:
 {{{
 #!CommitTicketReference repository="" revision="48234"
 Accessibility: Privacy: Accessibility improvements for the Privacy Policy
 Guide page.

 Improves accessibility of the "Copy this section" button and "Return to
 Top" link:
 - uses `setTimeout()` and `clearTimeout()` to properly handle the
 "Copied!" text
 - simplifies the button text by removing the redundant visually hidden
 text
 - fixes the mismatching visual and DOM order of the Copy button and the
 "Return to Top" link
 - improves the "Return to Top" links by providing real page fragment
 identifiers, when possible
 - hides the "Return to Top" up arrow from assistive technologies
 - minor coding standards

 Props afercia, garrett-eclipse.
 See #48463, #50322.
 Fixes #50335.
 }}}

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


More information about the wp-trac mailing list