Skip to content

Accessibility Issue: CS / cs Operator Errors When Applying Fill Color in Tagged Table (PAC Validation Failure) #1640

@ajaykrdas

Description

@ajaykrdas

Bug Report

Description of the problem

When attempting to generate an accessible PDF with tagged tables, the generation or validation fails with the following error in PAC (PDF Accessibility Checker):

Operator 'CS' not allowed in this current state.
Operator 'cs' not allowed in this current state.

This occurs specifically while applying fill or stroke colors

Code sample

Your environment

  • pdfkit version:
  • Node version:
  • Browser version (if applicable):
  • Operating System:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions