When I do an accessibility check of a PDF file in my Acrobat Pro DC, I get that everything passes (except for the usual check reading order and contrast). However when I run through another checker such as Commonlook Validator I get the message: Link Annotation (it is a email address), doesn't define the contents attribute. How/where do I correct this issue in Acrobat?
Link Annotations do not have a Contents attribute, as far as I can see in the PDF ISO spec (version 32000-1:2008, section 126.96.36.199). Ask them what they mean by it, exactly. Maybe they got confused with Line annotations...
It comes up when you run a check in Commonlook Validator under Accessibility - WCAG 2.1 AA. It says:
Checkpoint: Guideline 1.1 Provide text alternatives for all non-text content
Test: Alternative Representation for Links
Description: Link Annotation doesn't define the contents attribute.
The link is an email address for example firstname.lastname@example.org It does not have an underline underneath it so it just appears as text. I do have an alternate attribute for the link.
I appreciate your reply.
Link annotations do require a Contents attribute for PDF/UA compliance. It's a bit of a bear to do manually but you can run the Preflight Fix-Up in Acrobat to add this attribute, then go back in and adjust it if desired. The Fix-Up is called "Create Content Entry for Link Annotation".
This worked! Thank you.
What about for pcs?
You mean Windows computers? It works exactly the same on both platforms.
I'm hoping to use this soltion myself, however when I open Pre-Flight I don't see the "Create Content Entry for Link Annotation" as an option. Does anyone know if it can be added? Thanks!