[wp-trac] [WordPress Trac] #50322: Site Health "copy info" button: fix focus loss and other improvements
WordPress Trac
noreply at wordpress.org
Fri Jun 5 13:51:05 UTC 2020
#50322: Site Health "copy info" button: fix focus loss and other improvements
----------------------------------------------+----------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.5
Component: Site Health | Version: 5.2
Severity: normal | Resolution:
Keywords: has-patch commit has-screenshots | Focuses: accessibility
----------------------------------------------+----------------------------
Comment (by afercia):
[attachment:"50322.2.diff"] uses internal `ClipboardJS` methods to remove
the visually hidden textarea after 3 seconds since the last successful
copy action.
`ClipboardJS` takes care to re-add the textarea back each time the Copy
button is clicked to the functionality works as expected.
Ideally, this should be reported upstream. Will do as soon as I have some
time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50322#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list