While looking at the demo site https://clipboardjs.com/ I noticed that the focus loss accessibility problem (which was fixed in https://github.com/zenorocha/clipboard.js/issues/805 following a regression) was still present. At first I thought the code regressed again, but on closer inspection, it seems the demo site uses an outdated version of the script (version 2.0.6, whereas the repo's latest is 2.0.11).
I'd suggest updating the demo site to the latest version of clipboard.js that doesn't have the (fairly obvious, to me at least) focus loss problem.
📚 Documentation
While looking at the demo site https://clipboardjs.com/ I noticed that the focus loss accessibility problem (which was fixed in https://github.com/zenorocha/clipboard.js/issues/805 following a regression) was still present. At first I thought the code regressed again, but on closer inspection, it seems the demo site uses an outdated version of the script (version 2.0.6, whereas the repo's latest is 2.0.11).
I'd suggest updating the demo site to the latest version of clipboard.js that doesn't have the (fairly obvious, to me at least) focus loss problem.
Have you read the Contributing Guidelines on issues?
Yes