Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 25 Generating WAI markup for HTML > 25.4 Applying WAI markup to tables > 25.4.3 Providing table summary and title information > 25.4.3.2 Using a dedicated format for table summary or title

#### 25.4.3.2 Using a dedicated format for table summary or title

You can designate a paragraph format whose content will be the value of the summary attribute for the next table in your document. For example, suppose you use paragraph format TblSum for this purpose:

[HTMLParaStyles]

; Summary makes current para content into summary for table tag

TblSum=Summary Delete

Somewhere in each table (or just before the table) you would insert a TblSum paragraph containing the summary for that table. Probably you would make that paragraph conditional so it would not appear in print. The Delete property would exclude the paragraph (as such) from HTML output; HTML source would show the text of the TblSum paragraph as the value for the summary attribute of the <table> element.

If some tables in your document have no captions (FrameMaker table titles), you might want to use the HTML title attribute also, to provide a title. Designate a paragraph format whose content will be the title for any table in which (or just before which) you place an instance of the paragraph. For example, suppose you use paragraph format TblTtl for this purpose:

[HTMLParaStyles]

; TableTitle makes current para content into title attr for table

TblTtl=TableTitle Delete

The content of the TblTtl paragraph would become the text of the title attribute of the HTML <table> tag.