docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.47k stars 5.67k forks source link

Screen reader is not announcing the information as ‘Copied’ which appears on activating the ‘Copy to clipboard’ button #2309

Closed msftedad closed 10 months ago

msftedad commented 10 months ago

Bug Report

Steps to reproduce

  1. Open the URL: PWA Starter - Routing and Navigation (pwabuilder.com) in browser.
  2. Turn on the screen reader through Ctrl+ Windows+ Enter key.
  3. Navigate to the Copy to clipboard button present under JSON and activate it.
  4. Observe the issue.

Current behaviour

Screen reader is not announcing the information as ‘Copied’ which appears on activating the ‘Copy to clipboard’ button, narrator remains silent.

Attachments:

Screen reader is not announcing the information as ‘Copied’ which appears on activating the ‘Copy to clipboard’ button

https://github.com/docsifyjs/docsify/assets/93735775/575da170-e7ae-4a2d-8e8c-5ca76be484fc

Expected behaviour

Screen reader should announce the information as ‘Copied’ which appears on activating the ‘Copy to clipboard’ button.

Other relevant information

Please create a reproducible sandbox

NA

Mention the docsify version in which this bug was not present (if any)

NA

sy-records commented 10 months ago

Thanks for the feedback, but this seems to be a plugin issue. https://github.com/jperasmus/docsify-copy-code

cc @jperasmus

jperasmus commented 10 months ago

I reopened the issue here: https://github.com/jperasmus/docsify-copy-code/issues/63

Please upgrade to the latest version (v3) and try again.

jhildenbiddle commented 10 months ago

This is a plugin-related issue. Please recreate this issue in the docsify-copy-code repo.