Replacement Text (AccSupp ActualText entry) Support
Categories
(Firefox :: PDF Viewer, enhancement, P3)
Tracking
()
People
(Reporter: 123123geek, Unassigned)
References
Details
(Keywords: access, Whiteboard: [pdfjs-text-selection][pdfjs-accessibility])
Attachments
(5 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Steps to reproduce:
We noticed that your PDF viewer doesn't have AccSupp ActualText support. This means that copy-pasting technical text such as shellscripts and programming code, does not work in your PDF viewer and this greatly restrains the use of your whole program.
According to the tests made using PDFs produced by pdflatex using the package accsupp, the replacement text support seems to be unreliable at the moment for copy and paste. Those tests are available on the referenced accsupp github page in the end of this text.
We kindly request better support of the replacement text support, because the copy and paste directly from the PDF document is not reliable.
Please also refer to these two pages for further discussion:
https://tex.stackexchange.com/questions/563803/how-make-a-latex-document-that-generates-a-pdf-from-which-copy-paste-works-corre
https://github.com/ho-tex/accsupp/issues/2
Comment 1•6 years ago
|
||
Setting a component for this enhancement in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.
Updated•6 years ago
|
Comment 2•4 years ago
|
||
Could you attach a PDF here, so it's easier for us?
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:calixte, since the bug has recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
(In reply to Marco Castelluccio [:marco] from comment #2)
Could you attach a PDF here, so it's easier for us?
I have attached two PDFs for testing based on the LaTeX code from 123geek: https://github.com/ho-tex/accsupp/issues/2#issue-708295695
Try to copy & paste "copyme" from the PDF and paste it somewhere.
test_accsup_basic.pdfshould readIt worked if you can read this.test_accsup_large.pdfshould readWith this sentence we have a total of 000056 characters.With this sentence we have a total of 000112 characters.[...]With this sentence we have a total of 032760 characters.With this sentence we have a total of 032816 characters
Comment 9•10 months ago
|
||
With recent massive improvements in PDF accessibility handling, lack of ActualText Support has become somewhat more noticeable.
Attatched actual.pdf is a small file with a LaTeX logo (which in recent LaTeX has ActualTeX of LaTeX by default in tagged pdf) and a square with ActualText of Square
in firefox nightly (149.0a1 (2026-01-15) (64-bit)) NVDA produces the speech
ActualText heading level 1
heading level 1 ActualText
L A TEX
one
two
clickable
Acrobat+NVDA produces
heading level 1 page 1 ActualText
LaTeX
one square two
"LaTeX" being pronounced as lay-tech as it's an existing entry in a recommended speech dictionary, as opposed to ell-ay-tecs in firefox
Comment 10•10 months ago
|
||
attachment actual.pdf as described in previous comment
Description
•