Skip to main content
PagePass home

Link annotation is not nested inside a "Link" structure element

A hyperlink is tagged, but under the wrong parent (often Span or P) or as an artifact. Move it into a Link tag so screen readers announce it as a link.

Drop your PDF to find "Link annotation is not nested inside a "Link" structure element" in your browser. PagePass can fix it for you.

Drag and drop a PDF here, or choose a file.

Your file never leaves your browser.

Already confirmed this error? Fix this PDF in PagePass (uploads are deleted after 1 hour).

How each checker reports it

Exact wording of this error in each accessibility checker
CheckerExact messageRule / checkpoint
PAC (PDF Accessibility Checker)Link annotation is not nested inside a "Link" structure element-
veraPDF (PDF/UA-1 profile)A link annotation is an Artifact or is not nested within a Link tag7.18.5-1
Matterhorn Protocol 1.1A link annotation is not nested within a Link tag.28-011
Severity
Serious: major barrier for some users
Automatic fix
Yes: automated tagging, then a short visual review in PagePass
WCAG 2.1 success criteria
Matterhorn Protocol checkpoints
28-011

Our checker reports this as Tagged annotations – Failed.

What this error means

A clickable link in a PDF has two halves. The link annotation is the invisible clickable rectangle with its destination. The link text is the visible words (or image) drawn on the page. In a tagged PDF, both halves must sit together inside a Link structure element: the text as marked content, and the annotation as an object reference (OBJR).

PAC lists this under its annotation checks as Link annotation is not nested inside a “Link” structure element. veraPDF reports it as rule 7.18.5-1 and also fires when a link annotation has been marked as an artifact. In the Matterhorn Protocol it is checkpoint 28-011, a deterministic test.

The usual pattern is a link whose OBJR ended up under a Span, a P or a generic container. That happens when a tagging tool recognized the annotation but not its role, or when someone dragged tags around in the Tags panel and left the reference in the wrong place.

Why it matters for screen-reader users

Screen readers decide what to call an element from its tag. Inside a Link tag, the text is announced as a link, appears in the list of links that users pull up to scan a document, and is activated with Enter. Under a Span or P, the same words may be read as ordinary text, so the user never learns there is a link to follow. Keyboard users can be affected too, because tab order that follows the structure may skip or misplace the link.

That makes it a failure of WCAG 2.1 success criterion 1.3.1 (Info and Relationships) and 4.1.2 (Name, Role, Value), and it undermines 2.4.4 (Link Purpose), since the purpose is only clear if the link and its text are connected. Agendas, forms and policy documents published by public entities are often full of links, so a single tagging mistake repeated across a template can fail hundreds of links at once.

How to confirm the fix

In the Tags panel, each link should look like a Link tag with two children: the link text and Link – OBJR. Check with a screen reader’s links list that every link appears with sensible text.

How to nest a link in a Link tag in Acrobat Pro

You need Acrobat Pro. Save a copy before editing the tag tree.

  1. Step 1: Find the link in the tag tree

    Open the Accessibility Tags panel (View > Show/Hide > Side panels > Accessibility tags), enable Highlight Content from the Options menu, and locate the link's object reference, shown as 'Link – OBJR'. PAC's preview (double-click the result) shows which link it is.

  2. Step 2: Check its parent tag

    Look at the tag directly above the OBJR. If it is Span, P or another type rather than Link, that is the cause.

  3. Step 3: Change the parent to Link, or create one

    If the parent holds only the link text and the OBJR, right-click it, choose Properties and set Type to Link. If it holds a whole paragraph, create a new Link tag inside the paragraph (Options menu > New Tag) and drag both the link text and the OBJR into it.

  4. Step 4: Handle links that are missing or artifacted

    If the link has no OBJR in the tree, use Find in the Tags panel Options menu with Unmarked Links, then Tag Element as Link. If the annotation was marked as an artifact, remove that artifact marking and tag it instead.

  5. Step 5: Give the link a description and re-check

    Make sure the link text explains the destination, set tab order to Use Document Structure in Page Properties, and run PAC or veraPDF again.

Prevent it in the source file

Microsoft Word

  • Insert links with Insert > Link on meaningful text and export via File > Save As > PDF with 'Document structure tags for accessibility' checked; Word wraps each link in a Link tag.

Adobe InDesign

  • Create links with the Hyperlinks panel on text in the main story (not on parent pages) and export with Create Tagged PDF enabled.

How PagePass fixes it automatically

PagePass matches each link annotation on the page to the text beneath it, creates a Link structure element containing both that text and an object reference to the annotation, registers it in the parent tree, and sets the page tab order to follow structure. Link annotations previously marked as artifacts are brought back into the structure. You confirm link text in the 60-second visual review, then veraPDF verifies it.

Software does about 90% of the tagging. One person on your team checks the rest in about a minute per document. veraPDF validates the result against PDF/UA-1.

Frequently asked questions

How is this different from Tagged annotations – Failed?

Tagged annotations fails when an annotation is missing from the tag tree entirely. This error means the link is in the tree, but under the wrong kind of tag, or it was hidden as an artifact.

Why does the parent tag type matter if the link still works?

Clicking still works for mouse users. Screen readers, however, use the Link tag to announce 'link', include it in their links list and connect it to the right text. Under a Span it may be read as plain text.

Can a Link tag contain an image?

Yes. A linked logo or button should be a Link tag containing the Figure (with alt text describing the destination) and the OBJR.

Can PagePass fix this automatically?

Yes. Links are re-nested in Link tags automatically and you check the link text in a short visual review.

  • Tagged annotations – Failed

    Links, comments or other annotations sit outside the tag tree, so screen readers skip them or read them out of place. Here is how to tag them.

  • Alternative description missing for an annotation

    A PDF link has no Contents description, so assistive tech can't name its destination. Add a short description to every link annotation.

  • Tab order – Failed

    Pages with links or form fields don't tell readers to tab in structure order, so keyboard focus jumps around. Set tab order to Use Document Structure.

  • Navigation links – Needs manual check

    Acrobat asks you to confirm that repeated links (like a menu on every page) can be skipped and that each link makes sense. What to check and fix.