Lekt logo Lekt
ISO_14289_1:7.2-42 Tier-2 Visual Editor & Human Confirmation

ISO_14289_1:7.2-42: Irregular Table Grid (Rows Span Different Column Counts)

This error occurs when table rows in a PDF/UA-1 document have inconsistent column spans, violating ISO 14289-1:7.2-42. This causes screen readers like NVDA, JAWS, and VoiceOver to misinterpret table structure, leading to confusion for users. Lekt provides a visual table inspector to fix RowSpan/ColSpan mismatches without altering layout.

veraPDF Rule ID
ISO_14289_1:7.2-42
Validated Object
SETable
Matterhorn 1.1
15-002 (Human)
Validation Profiles
PDFUA-1 + WCAG-2.2-MACHINE
PDF/UA-2 Equivalent
ISO_14289_2:8.2.5.26-4 (SETable)
Lekt v1.8.2 Mode
Visual Table Grid Inspector (RowSpan/ColSpan Editor & Unwrap Layout Table -> <Div>)
2026 Live .edu/.gov Benchmark Data: Observed in 11.8% of publicly hosted U.S. university & government PDFs (11.8% of audited PDFs (39 irregular tables across public reports & forms)). Read the full benchmark →

1. Official Rule Definition & Machine Verification Evidence

Official veraPDF XML Definition: Table rows shall have the same number of columns (taking into account column spans)
Machine Test Predicate: numberOfRowWithWrongColumnSpan == null || wrongColumnSpan != null
Verbatim Error Message: Table rows 1 and %1 span different number of columns
Observed veraPDF 1.30.4 Corpus Context XPath: root/document[0]/StructTreeRoot[0](6 0 obj PDStructTreeRoot)/K[0](14 0 obj SEDocument Document)/K[0](24 0 obj SETable Table)
Normative Reference: ISO 32000-1:2008 §14.8.4.3.4

The rule requires that all rows in a `<SETable>` object have the same number of columns, including those affected by column or row spans. The `test_expression` `numberOfRowWithWrongColumnSpan == null || wrongColumnSpan != null` evaluates whether any row spans a different number of columns than others. This is enforced by ISO 32000-1:14.8.4.3.4, which defines the structure tree and how table elements must be consistently marked up. When rows have mismatched spans, the table structure becomes irregular, violating the accessibility requirement for predictable and consistent tabular data.

2. Minimal Reproducible PDF Structure (Before vs. After)

The error is triggered when a `<SETable>` object in the structure tree has rows with inconsistent column spans. For example, in the provided test file (`7.2-t42-fail-a.pdf`), the XPath `root/document[0]/StructTreeRoot[0]/K[0]/K[0]` points to a `<SETable>` where row 1 spans 3 columns, while another row spans 4. This mismatch causes the rule to fail.

Fails ISO_14289_1:7.2-42
14 0 obj
<<
/Type /StructElem
/K [25 0 R 26 0 R 27 0 R]
/S /Table
/ColSpan [1 1 1 2]
/RowSpan [1 2 1 1]
>>
endobj
24 0 obj
<<
/Type /StructElem
/K [14 0 R 28 0 R 29 0 R]
/S /Table
>>
endobj
Compliant PDF Structure
14 0 obj
<<
/Type /StructElem
/K [25 0 R 26 0 R 27 0 R]
/S /Table
/ColSpan [1 1 1 1]
/RowSpan [1 1 1 1]
>>
endobj
24 0 obj
<<
/Type /StructElem
/K [14 0 R 28 0 R 29 0 R]
/S /Table
>>
endobj

3. Common Authoring Triggers & Checker Differences

Microsoft Word

When tables are manually merged or split using the 'Merge Cells' or 'Split Cell' functions, the resulting RowSpan/ColSpan values may not be properly updated in the PDF structure tree during export.

Adobe InDesign

Exporting tables with merged cells or nested tables without enabling 'Tagged PDF' or 'Accessibility' options may result in inconsistent column spans in the structure tree.

Adobe Acrobat Pro DC

Manually editing a PDF's structure tree using the Accessibility tools can lead to mismatched RowSpan/ColSpan values if the user does not validate the table structure.

PAC 2024 vs. Adobe Acrobat Full Check vs. veraPDF 1.30.4: Adobe PDF Accessibility Checker (PAC) 2024 and Adobe Acrobat Pro DC do not natively validate the exact column span consistency required by ISO 14289-1:7.2-42. veraPDF 1.30.4, however, implements this rule as part of its WCAG 2.2 and PDF/UA-1 validation profiles, detecting mismatches in RowSpan/ColSpan values directly from the structure tree.

4. Manual Remediation Steps

In Adobe Acrobat Pro

  1. Open the PDF in Adobe Acrobat Pro DC.
  2. Navigate to the 'Accessibility' tool and select 'Full Check' to identify the problematic table.
  3. Manually adjust the table structure using the 'Reading Order' tool to ensure all rows have the same number of columns and consistent spans.

In Upstream Source Tools (Word / InDesign / LaTeX)

  1. Open the source document (e.g., Word or InDesign) and ensure that all table cells are unmerged and unsplit.
  2. Export the document to PDF with 'Tagged PDF' and 'Accessibility' options enabled.
  3. Validate the resulting PDF using veraPDF 1.30.4 to confirm compliance.

5. Offline Verification & Remediation in Lekt (Zero Cloud Uploads)

Honest Capability Scope (Tier-2 Visual Editor & Human Confirmation): Lekt renders each tagged <Table> as an interactive spreadsheet grid displaying live column sums per row, lets you fix mismatched RowSpan/ColSpan attributes visually, or lets you click 'Unwrap -> Div' for decorative layout pseudo-tables — verified at 0px visual diff.
  1. Open the PDF in Lekt and navigate to the 'Visual Table Grid Inspector'.
  2. Identify the rows with mismatched column spans and adjust RowSpan/ColSpan values using the interactive grid.
  3. Click 'Unwrap -> Div' if the table is decorative or layout-only, converting it into a semantically neutral `<Div>` block.

Frequently Asked Questions

Can Lekt automatically fix irregular table columns?

Lekt provides a visual editor to fix RowSpan/ColSpan mismatches manually. It does not automatically guess or infer correct spans, as this requires human judgment to preserve semantic accuracy.

Why does this error affect screen readers?

Screen readers rely on consistent table structure to navigate and interpret data. Irregular column spans disrupt this, causing confusion and misreading of table content.

Is this rule part of WCAG 2.2?

Yes, this rule is included in the WCAG 2.2 Machine-Readable profile via the PDF/UA-1 specification, ensuring that tables are structured consistently for accessibility.

Check & Verify ISO_14289_1:7.2-42 100% Offline

Run unlimited PDF/UA-1, PDF/UA-2, and WCAG 2.2 checks locally on macOS Apple Silicon or Windows x64 via embedded veraPDF 1.30.4 — zero FERPA/HIPAA cloud uploads, plus Free Watermarked Proof PDF export to verify 0 errors in PAC 2024 before paying.

Related PDF/UA & WCAG Error Guides