Forum How do I...?

Tagged PDF

.custom-alt {
    -prince-alt-text: "Some test";
<a href="some link" class="custom-alt">Some text</a>

The "Some test" gets assigned to "Some text" but not to the tagged link underlying in the PDF. Any suggestions? Commonlook test is failing due to this.
Attaching example screenshot from CommonLook and Adobe showing PDF tags / warning.
  1. Screenshot 2024-06-18 at 4.53.02 PM.png2.0 MB
We'll need to modify the algorithm to satisfy this validator.
We've modified the tagging algorithm so that, amongst other things, the alt text from <a> elements is transferred to the Link structure element. Let us know how it goes.

This is in the 20240626 latest build.

Edited by wangp

Thank you. will give this a run and report back the results.