“F” or “UF” key missing in file specification
A file attached inside the PDF has no proper file name in its file specification, so readers cannot announce what the attachment is.
Drop your PDF to find "“F” or “UF” key missing in file specification" in your browser. Nothing is uploaded.
Drag and drop a PDF here, or choose a file.
Your file never leaves your browser.
How each checker reports it
| Checker | Exact message | Rule / checkpoint |
|---|---|---|
| PAC (PDF Accessibility Checker) | “F” or “UF” key missing in file specification | - |
| veraPDF (PDF/UA-1 profile) | The file specification dictionary for an embedded file does not contain either F or EF key or at least one of the keys is empty | 7.11-1 |
| Matterhorn Protocol 1.1 | The file specification dictionary for an embedded file does not contain F and UF keys. | 21-001 |
- Severity
- Minor: polish or metadata issue
- Automatic fix
- Needs a person or a re-export from the source file
- Matterhorn Protocol checkpoints
- 21-001
What this error means
A PDF can carry other files inside it: a spreadsheet behind a budget table, the source data for a chart, or a signed form. Each embedded file is described by a file specification dictionary. PDF/UA-1 requires that dictionary to include two name entries: F, the legacy file name, and UF, the Unicode file name. This error means at least one attachment is missing one of them, or has an empty value.
PAC files this under its embedded-files checks, veraPDF reports it as rule 7.11-1, and the Matterhorn Protocol lists it as checkpoint 21-001. The problem is purely technical. You usually cannot see it in the document, and it often comes from older PDF libraries, automated report generators, or tools that add attachments without writing a Unicode name.
Why it matters for screen-reader users
When a reader lists the attachments in a PDF, the file name is often the only label available. Without a proper Unicode name, assistive technology may announce an empty or garbled label, or fail to show the attachment at all. Names in non-Latin scripts are most at risk, because the legacy F entry cannot always hold them reliably.
No single WCAG success criterion targets this rule. It is a PDF/UA-1 conformance requirement, and veraPDF will not report a file as PDF/UA-1 conformant until it is fixed. If you promise PDF/UA conformance in a VPAT or accessibility statement, this rule must pass.
Common causes
- Report or statement generators that attach data files programmatically.
- Very old PDFs created before the
UFentry was widely written. - PDF portfolios and packages converted into a single PDF.
- File attachment comments (paperclip icons) added by older review tools.
How to fix missing F/UF keys on PDF attachments in Acrobat Pro
Acrobat does not let you edit the file specification keys directly. The reliable fix is to remove the attachment and attach it again with a current version of Acrobat, which writes both keys.
Step 1: List the attachments
Open the Attachments panel in the left navigation pane (it appears only when the PDF has attachments). Note each attached file and whether it came from a page-level file attachment comment or the document-level attachment list.
Step 2: Save the attached files
Select each attachment and save it to disk so you can attach it again. Check that the saved copy opens correctly.
Step 3: Delete the old attachments
Delete each attachment from the Attachments panel. For file attachment annotations (paperclip icons on the page), delete the comment itself as well.
Step 4: Re-attach the files
Add the saved files again from the Attachments panel. Give each one a clear file name and fill in the description field so readers know what the file contains.
Step 5: Check whether attachments are needed at all
For public documents, it is often simpler and more accessible to post the attachment as a separate download on your web page, with a descriptive link, and remove it from the PDF.
Step 6: Validate again
Run PAC or veraPDF with the PDF/UA-1 profile. The file specification rule should now pass. If it still fails, the attachment may be embedded inside a portfolio or form XObject; regenerate the PDF from its source.
How PagePass fixes it automatically
PagePass detects embedded files whose file specification lacks the F or UF entry and lists them in the report, along with the attachment names it found. V1 does not rewrite embedded attachments, because changing them can break signed or packaged documents. Re-attach the files as described, or remove them and link to them from your web page, then run the file through again for veraPDF validation.
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
What are the F and UF keys?
They are two entries in a PDF file specification dictionary that hold the attachment's file name. F is the older, byte-string version and UF is the Unicode version. PDF/UA-1 asks for both, so any reader can display and announce the file name correctly in any language.
Do I really need attachments in an accessible PDF?
Not usually. Attachments are easy to miss for everyone, including screen-reader users. If the attached file matters, post it separately with a descriptive link. Any file you post must also be accessible on its own.
Does fixing this make the attached file accessible?
No. This rule only checks the wrapper that names the attachment. The attached Word file, spreadsheet or PDF needs its own accessibility review.
Why is the veraPDF message wording different from Matterhorn?
veraPDF phrases the test in terms of what is present in the dictionary, while the Matterhorn Protocol states the failure condition. Both describe the same PDF/UA-1 requirement for embedded files.
Related errors
- 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.
- Other elements alternate text – Failed
A comment, stamp, media player or 3D model has no text description. Here is how to describe or remove non-figure elements that need alternate text.
- PDF/UA identifier missing
The XMP metadata lacks the pdfuaid:part entry that declares PDF/UA conformance. Add it only once the file truly passes; here is how.
- Dynamic XFA forms is present
The PDF is a dynamic XFA form, which PDF/UA does not allow and many readers cannot open. Rebuild it as a standard tagged AcroForm.