[wp-trac] [WordPress Trac] #48463: Copy link button in media
WordPress Trac
noreply at wordpress.org
Tue Jun 30 13:24:28 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:"48233" 48233]:
{{{
#!CommitTicketReference repository="" revision="48233"
Accessibility: Site Health: Improve the "Copy site info" button
accessibility.
- avoids a focus loss when clicking the "Copy site info" button
- uses `setTimeout()` and `clearTimeout()` to properly handle the
"Copied!" text
- minor JavaScript coding standards
Props audrasjb, Clorith, afercia.
See #48463, #50335.
Fixes #50322.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48463#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list