I am converting an HTML document to a PDF document and I need to keep the accessibility tags for the generated PDF file. The input HTML document has valid accessibility that I confirm through file upload at Nu Html Checker
After the PDF document has been generated the document no longer has its accessibility features.
I have used the sample code from Aspose.
This is the exact code I have been using:
HtmlLoadOptions options = new HtmlLoadOptions();
var inputFilePass = Path.GetFullPath(@"…\TestData\input_Pass.html");
var output = Path.GetFullPath(@"…\Output\output.PDF");
Document pdfDocument = new Document(inputFilePass, options);
pdfDocument.Save(output);
I would really appreciate if anyone knows if it is possible to keep the accessibility features of the document when the document is converted from HTML to PDF.