[wp-trac] [WordPress Trac] #50322: Site Health "copy info" button: fix focus loss and other improvements
WordPress Trac
noreply at wordpress.org
Tue Jun 30 13:24:27 UTC 2020
#50322: Site Health "copy info" button: fix focus loss and other improvements
----------------------------------------------+----------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Site Health | Version: 5.2
Severity: normal | Resolution: fixed
Keywords: has-patch commit has-screenshots | Focuses: accessibility
----------------------------------------------+----------------------------
Changes (by afercia):
* status: assigned => closed
* resolution: => fixed
Comment:
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/50322#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list