You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be some ordering issues with PDFs generated using this library, the order in which screen readers read the PDF contents is not what we'd expect. Here's an example:
A good way to check order is to select all the text and notice in what order the text gets selected. Doing so you'll notice that Spam and Eggs are selected before Bar. If I select all text (using Ctrl/Cmd + A) and paste it somewhere, this is the order I see:
Foo
Spam
Eggs
Bar
Of course, visually, I would expect this order to be:
Foo
Bar
Spam
Eggs
I think fixing this involves the usage of ordering PDF tags properly, and I don't think this library currently supports that.
There seems to be some ordering issues with PDFs generated using this library, the order in which screen readers read the PDF contents is not what we'd expect. Here's an example:
This code generates the following PDF:
A good way to check order is to select all the text and notice in what order the text gets selected. Doing so you'll notice that
Spam
andEggs
are selected beforeBar
. If I select all text (using Ctrl/Cmd + A) and paste it somewhere, this is the order I see:Of course, visually, I would expect this order to be:
I think fixing this involves the usage of ordering PDF tags properly, and I don't think this library currently supports that.
Here's the generated PDF file:
my.pdf
The text was updated successfully, but these errors were encountered: