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

Free Support Forum - aspose.com

Aspose.words support for alt text for paragraph

Hello team,
Currently, we see Microsoft word (docx) has a capability to add ‘Alt Text’ for an image. Is there a way we can add ‘Alt Text’ to a paragraph using aspose.words. We want to add some extra narratives to the paragraph so screen reader can capture that alt text. But, we do not want that extra ‘Alt text’ shown visually on the document.

@cvsformulary Both Microsoft Word and Aspose.Words do not provide such functionality as ‘Alt Text’ for paragraph. As an alternative you could add ‘Alt text’ to paragraph tags in the Aspose.Words PDF output on postprocessing either in Adobe Acrobat or via third-party PDF processing library like Aspose.PDF. Or as an another alternative you could try to use different Microsoft Word document elements like endnotes/footnotes for extra narratives.