We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adobe pdf accessibility checker issue - document title is showing in title bar failed


I am using aspose-words-17.3.0-jdk16.jar to create a pdf file. I am using Adobe Acrobat Pro XI's accessibility checker and I am receiving Title Failed issue (please see attached Capture.PNG). When I look at the report it says that document title is showing in title bar failed (please see attached Capture1.PNG). The html file I am using is attached. It is saved as txt for uploading to this post. Below is the code I am using to create the pdf. How can I get the title to pass the accessibility test?

public void convert() {
Document document = new Document(new FileInputStream("test.html"));
DocumentBuilder builder = new DocumentBuilder(document);

PdfSaveOptions opts = new PdfSaveOptions();
document.save("test.pdf", opts);
Hi there,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-14190 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

You can use Aspose.Pdf to achieve your requirement. Please set the value of Aspose.Pdf.Document.DisplayDocTitle property to true to show the title in document's window title bar.