[wp-trac] [WordPress Trac] #50335: Privacy Policy Guide page: Improvements for the Copy button
WordPress Trac
noreply at wordpress.org
Tue Jun 30 13:24:27 UTC 2020
#50335: Privacy Policy Guide page: Improvements for the Copy button
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.5
Component: Privacy | Version: trunk
Severity: normal | Resolution:
Keywords: has-screenshots has- | Focuses: 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/50335#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list