Tagging of anonymous boxes inside page content
Hi again! We ran into an issue with PDF-UA and links embedded between anonymous text elements. We have the following setup:
In this case when rendering the page content, the anonymous text elements are rendered as unmarked content, which later becomes a problem for tagging, because screen readers will read the contents of the whole paragraph first and the descriptive text from the link afterwards (or when the actual link is in focus).
So even if the tagging works correctly, the best results, from the current page content would look like this, since there is no way to refer to the before and after text in the tree structure.
A possible the solution would be to make all the anonymous text elements into marked /Span tags inside the page content, but I'm wondering how would that work with inline elements within inline elements?
Any insight is appreciated.
Thank you, Laszlo.
Here is a minimal example to reproduce the issue:
And image to demonstrate how the page content looks currently
If you’re interested in this issue, it’s time to test #2471! Feedback will be highly appreciated, even to say that it just works. 🙏