26.2.2.2 Assigning WAI attributes to paragraph formats
You can combine format-specific settings in [HTMLParaStyles] with attributes you define in other [HtmlStyle*] sections to control WAI behavior at the cell level. You must use a different paragraph format for the content of each cell that needs a different set of attributes.
Use these settings to specify WAI attributes for table cells.
; These provide support for Web Accessibility Initiative table markup.
; CellAttribute inserts the contents of [StyleCellAttribute] into
; the start tag of the enclosing table cell (ignored outside tables).
; Span causes assignment of ColSpanID or RowSpanID, as enabled in
; NoColID prevents assignment of id for ColIDs (enabled in [Tables])
; for any cell that contains an instance of its para format.
; ColGroup is used for para formats in cells in the header row.
; RowGroup is used for para formats in cells at the left of their
; Scope looks up value for scope= attribute in [StyleCellScope]
; Abbr looks up value for abbr= attribute in [StyleCellAbbr]
; Axis looks up value for axis= attribute in [StyleCellAxis]
Table 26-1 describes each of these properties.
Table 26-1 Format properties for WAI table-cell attributes
An abbreviation for the cell’s content is assigned to the paragraph format under [StyleCellAbbr]. |
|
The cell belongs to a category that is not necessarily indicated by the row and column headers with which it is associated; the category (axis) is specified for the paragraph format under [StyleCellAxis]. |
|
Attributes listed under [StyleCellAttribute] for the paragraph format are applied to the cell. You can list values for other WAI attributes (Scope, Abbr, and Axis) under [StyleCellAttribute] if you want to, instead of listing them in the attribute-specific sections. |
|
The cell is a header cell that starts a column group. See §26.2.1.2 Using header cells to define column groups. |
|
The column to which the cell belongs does not need to be identified for WAI purposes, even though you have specified in the [Tables] section that you want columns identified. This setting is intended to allow skipping columns that are used only for spacing. |
|
The cell is a header cell that starts a row group. See §26.2.1.3 Using header cells to define row groups. |
|
The cell is a header cell that applies to a column, a group of columns, a row, or a group of rows, whichever is indicated for the format under [StyleCellScope]. |
|
The cell is a header cell that applies to more than one column or row; id="spanN" is assigned to the cell, regardless of ColSpanIDs or RowSpanIDs settings. Often such a header cell actually consists of two or more cells that have been straddled in FrameMaker. |
> 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.2 Assigning WAI attributes to paragraph formats