Merged PDF documents missing Accessibility standards

Hi Team,
We are using:
import com.groupdocs.merger.Merger;
import com.groupdocs.merger.domain.options.JoinOptions;

with below code ref to merge two pdf documents:

 Map<String, String> map1 = null;
        ByteArrayOutputStream mergedPdfOutputStream = new ByteArrayOutputStream();
        try {
            ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(inputPdfBytes);
            ObjectInputStream objectInputStream = new ObjectInputStream(byteArrayInputStream);
            List<byte[]> pdfByteArrays =  producePdfByteArrays((Map<String, String>) objectInputStream.readObject());
            // Convert the first byte[] array to InputStream
            InputStream firstPdfInputStream = new ByteArrayInputStream(pdfByteArrays.get(0));
            // Create GroupDocs Merger instance with the first PDF
            Merger merger = new Merger(firstPdfInputStream);
            // Loop through the remaining byte[] arrays and merge them
            for (int i = 1; i < pdfByteArrays.size(); i++) {
                InputStream pdfInputStream = new ByteArrayInputStream(pdfByteArrays.get(i));
                merger.join(pdfInputStream, new JoinOptions());
                pdfInputStream.close();
            }
            // Merge and save the output PDF into ByteArrayOutputStream
            merger.save(mergedPdfOutputStream);
            //close first stream
            firstPdfInputStream.close();

Steps to reproduce:
Generate the Merged document. and check the accessibility checks and it generates report with failure.

Steps:

  1. Open the PDF in Adobe Acrobat Pro.
  2. Go to All Tools > Prepare for Accessibility > Check for Accessibility.
  3. Select the desired options and select, Start Checking.
  4. Review the Accessibility Report, which highlights errors, warnings, and suggestions.

See the checks are failed in below screenshot of report.
acc_merge_pds.jpeg.png (109.2 KB)

@pankajgupta

Could you please share the source and resulting PDF files with us?
Also, does this issue occur with specific PDFs or with all files?

hey @atir.tahir , thanks for responding.
pFA attached docs
[MERGED]Proposta_Contrattuale_ESTRA.pdf (1.1 MB)

individual reports.zip (19.7 KB)

Indivisdual Pdfs.zip (671.3 KB)

@pankajgupta
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): MERGERJAVA-547

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.