Skip to content

Check structural accessibility over NextPDF Connect (Pro)

Run structural accessibility analysis over NextPDF Connect. Use check_accessibility, verified against the Pro tool provider, which registers new CheckAccessibilityTool() under the protocol name check_accessibility. The tool’s description defines its scope: it analyses a PDF’s structural accessibility — headings, tables, images, and reading-order indicators. It returns indicators and remediation hints. It does not certify Portable Document Format/Universal Accessibility (PDF/UA) or Web Content Accessibility Guidelines (WCAG) conformance. A conformance checker makes that determination, such as veraPDF or a PDF/UA test tool. check_accessibility is a Pro-tier tool. NextPDF probes it with class_exists() at boot and registers it only when the Pro package is installed.

Terminal window
composer require nextpdf/server
composer require nextpdf/pro

Bind a transport, then confirm the tool with diagnostic.capabilities.

Accessible structure depends on two things: a logical structure tree of structure elements (ISO 32000-2 §14.7) and a declared document language, set through the catalog Lang entry (ISO 32000-2 §14.9; PDF/UA-2 §8.4.4). check_accessibility inspects these structural indicators and returns findings with severity and remediation guidance. Treat any numeric score or pass/fail value in the report as an indicator summary, not a certification. Use it for triage.

ToolTierRoleRisk tier
create_pdf, add_textCoreBuild content to inspectSafe / Caution
check_accessibilityProStructural accessibility analysisSafe
output_pdfCoreRender and return the PDFApproval Required / Review (base64)

Tool names are the registry protocol names. The tool catalog is the catalog of record. The installed tier determines which tools are available.

  1. create_pdf → add content with add_text.
  2. check_accessibility with the document_id.
  3. Review the findings: severity, the indicator, the affected page, and the remediation hint.
  4. Optionally output_pdf (base64) for manual review alongside the report.

Treat the report as triage input, not a verdict. Map each finding to a concrete fix: enable tagged output, set the document language, and add heading structure. For a conformance gate, run an external checker. Treat that verdict, not this tool’s score, as authoritative. Run the check before output_pdf with destroy: true, or it cannot see the document.

  • No content. A blank document returns a no-content finding, not a certification.
  • Large document. A timeout bounds analysis; split or range large inputs.
  • Destroyed session. Run the check before output destroys the session.
  • Encrypted source. Supply the password.
  • Pro absent. With Core only, check_accessibility is not registered.

The timeout in the budget bounds the analysis. The profile is semantic: the report is structural-analysis output, so compare findings, not byte output.

The report describes structure, not content secrets. The document under analysis may still be sensitive, so keep it within your trust boundary. The analysis path does not write to the filesystem.

StatementSpecClausereference_id
Logical structure is a tree of structure elements.ISO 32000-2§14.7
Document language is declared via the Lang entry.ISO 32000-2§14.9
Natural language must be specified for accessible authoring.PDF/UA-2§8.4.4

check_accessibility reports structural indicators that support accessible authoring. It does not assert PDF/UA or WCAG conformance. An independent checker determines that.

check_accessibility is a Pro-tier tool. NextPDF registers it only when the Pro package resolves at server boot.

The structural indicators this tool inspects align with PDF/UA-2 authoring needs: a tagged structure tree (ISO 32000-2 §14.7) and a declared document language (PDF/UA-2 §8.4.4). The tool reports whether these indicators are present or absent. A PDF/UA checker determines PDF/UA-2 conformance, not the tool’s report.

Heading and table findings correspond to logical-structure elements in the ISO 32000-2 §14.7 structure tree. The language finding corresponds to the §14.9 Lang entry. The tool reports whether these structural anchors are present. It does not validate every §14 tag rule; that is a checker’s job.

Contrast and reading-order findings relate to WCAG success criteria, such as contrast and meaningful sequence. The tool reports indicator values, such as a measured contrast ratio. A WCAG conformance claim requires a full WCAG evaluation, which this tool does not perform and does not assert.

TransportAvailableNotes
MCP (stdio)Yes (Pro)The report is a tool result.
RESTYes (Pro)The report is the response body.
gRPCYes (Pro)Unary; report in the response message.

check_accessibility is Safe (read-only analysis) and never gates. output_pdf to a file is Approval Required, and base64 mode is Review (HITL risk tiers).

The analysis never gates:

{ "allowed": true }