zenorocha / clipboard.js

:scissors: Modern copy to clipboard. No Flash. Just 3kb gzipped :clipboard:
https://clipboardjs.com
MIT License
33.98k stars 3.98k forks source link

Demo page uses old script with focus loss bug #868

Open patrickhlauke opened 8 months ago

patrickhlauke commented 8 months ago

📚 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

obetomuniz commented 2 months ago

Thanks for reporting this @patrickhlauke. I'm planning to contribute to some open issues. I will be reviewing and triaging it. Thanks again.