##### 35.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.

[HTMLParaStyles]
; format name = properties
; 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
; the [Tables] section.
; 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
; rows.
; 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 35-1 describes each of these properties.

Table 35-1 Format properties for WAI table-cell attributes

Property | Description
Abbr | An abbreviation for the cell’s content is assigned to the paragraph format under [StyleCellAbbr].
Axis | 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].
CellAttribute | 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.
ColGroup | The cell is a header cell that starts a column group. See §35.2.1.2 Using header cells to define column groups.
NoColID | 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.
RowGroup | The cell is a header cell that starts a row group. See §35.2.1.3 Using header cells to define row groups.
Scope | 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].
Span | The cell is a header cell that applies to more than one column or row; id="span N" is assigned to the cell, regardless of ColSpanIDs or RowSpanIDs settings.

Previous Topic: 35.2.2.1 Choosing how to use paragraph formats for WAI markup

Next Topic: 35.2.2.3 Assigning values to WAI attributes

Parent Topic: 35.2.2 Using paragraph formats for table-cell attributes

Sibling Topics:

35.2.2.1 Choosing how to use paragraph formats for WAI markup

35.2.2.3 Assigning values to WAI attributes

35.2.2.4 Specifying a different HTML table-cell tag

35.2.2.5 Identifying table cells with formats: an example

Table of Contents • Index