26.2.2.3 Assigning values to WAI attributes
The following configuration-file sections can include settings for WAI attributes that are assigned to paragraph formats in the [HTMLParaStyles]section:
; format name = abbr attribute value to insert in enclosing cell
; format name = axis attribute value to insert in enclosing cell
; format name = scope attribute value to insert in enclosing cell,
; required by WAI to be one of col, colgroup, row, or rowgroup.
; doc style = attribute to insert in enclosing table cell start tag,
; used in addition to other cell attributes given under [Table...]
You can use the format or an abbreviation of the cell content to specify the scope:
For example, if you are using column groups and a table has a column header that applies to (has a scope of) more than one column, you might give the text of the header a unique paragraph format (such as WideHdr), and specify the following settings:
Instead of using [StyleCellScope], you could specify the colgroup attribute like this:
Suppose the header-cell content with paragraph format WideHdr is “Type of convention”. To abbreviate this text to “Type”, you could specify both attributes like this:
WideHdr= abbr="Type" scope="colgroup"
> 26 Identifying HTML table structure for WAI > 26.2 Associating table cells with header cells > 26.2.2 Using paragraph formats for table-cell attributes > 26.2.2.3 Assigning values to WAI attributes