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

Free Support Forum - aspose.com

Re: Identify Table

Is the ability to read a table’s alternative text scheduled to be added in the near future? We have an urgency for this feature and need to know if we have to come up with another way.

Thank you.
Hi Joe,

Thanks for your inquiry. We regret to share with you that the feature WORDSNET-5890 has been postponed. I am afraid, there is no estimate available at the moment. We will inform you via this forum thread as soon as there are any further developments. We apologize for your inconvenience.

We suggest you following solution to identify a table. Hope this helps you.

1) Insert bookmark in the first cell of table with unique name.
2) Get the table using the bookmark. Please check following code snippet.

Document doc = new Document(MyDir + "in.docx");

//Your code...

//Your code...

Bookmark bm = doc.Range.Bookmarks["table1"];

Table table = (Table)bm.BookmarkStart.GetAncestor(NodeType.Table);

if (table != null)


//Your code...


Thanks for your response, Tahir.

The issue we have is not in identifying a table. We have many, many Word documents which we need to convert to HTML because our website that makes these documents publicly available will soon be required to comply with Section 508 accessibility standards.

Because the format and style of the docs are highly customized, I’ve written a converter using Aspose.Words (the DocumentVisitor is the shizz) that up to now has been able to handle everything required. The alt-text for a table in Word is used to describe it for screen readers, so we wanted to include that description in the converted documents, as well.

Since accessibility is becoming more and more prominent, I hope that Aspose reconsiders adding this feature very soon.
Hi Joe,

Thanks for your inquiry. We have logged a feature request as WORDSNET-14699 in our issue tracking system to export Alt Text property of table in output Html. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

I’m afraid that still isn’t what we’re asking for.

If I understand correctly, you have logged a feature request to have a table’s alt-text written out when converting a document to HTML. While helpful, as I said, we are already doing our own conversion. What we need is the ability to read the alt-text (title and description) through a Table’s properties.
Hi Joe,

Thanks for your inquiry.
What we need is the ability to read the alt-text (title and description) through a Table's properties.
We already logged this feature request as WORDSNET-5890 and there is no update available on it. We apologize for your inconvenience.

If alt-text properties are in your html document and it is your input document, please share it here for our reference. We will update the WORDSNET-5890 accordingly in our issue tracking system.

The issues you have found earlier (filed as WORDSNET-5890) have been fixed in this Aspose.Words for .NET 18.6 update and this Aspose.Words for Java 18.6 update.