PdfAccessibilityInspector Class
Inspects an existing document for the accessibility issues that can be found automatically, as PDF/UA (ISO 14289) and Tagged PDF (ISO 32000-2, 14.8) define them: the structure tree, the language and the title, the content that is not tagged, the figures without alternate text, the annotations, the reading order. The document is not changed.
public static class PdfAccessibilityInspectorRemarks
A document without issues may still need a review: the inspector does not judge whether an alternate text describes its figure, or whether the structure follows the meaning of the content. Validate the documents that must conform to PDF/UA with a validator such as veraPDF.
Methods
| Name | Description |
|---|---|
| Inspect(PdfDocument) | Inspects a document. |
Inspect(PdfDocument)
PdfAccessibilityInspector.csInspects a document.
public static PdfAccessibilityReport Inspect(PdfDocument document)Parameters
documentPdfDocument- The document.
Returns
PdfAccessibilityReport The issues found.
Exceptions
PdfException- The page tree of the document cannot be read.