#### 35.2.4 Assigning table-cell attribute values with PI markers

You can use PI markers to apply WAI cell attributes. Each PI marker name must start with Cell and end with the name of an attribute. The PI markers for table cells are as follows:

CellAbbr | Abbreviation for content of a cell; adds abbr attribute.
CellAxis | Conceptual category for the content of a cell; adds axis attribute.
CellID | Cell identifier; replaces the value of any generated id attribute.
CellScope | Number of rows or columns covered by a header cell; adds scope attribute.

For example, to add the abbr attribute to a table cell, place a CellAbbr PI marker in the cell.

Two additional PI marker types do not conform to the naming convention described above. Instead, they provide the same effects as certain properties assigned to paragraph formats in the [HTMLParaStyles] section:

CellGroup | The marker text must contain either col or row; the effect is as though ColGroup or RowGroup was assigned to a paragraph format in the cell. See §35.2.1 Specifying group properties for header cells.
CellSpan | The marker text can contain anything, but must not be empty; the effect is as though Span was assigned to a paragraph format in the cell.

For information about assigning properties ColGroup, RowGroup, and Span, see §35.2.2.2 Assigning WAI attributes to paragraph formats.

Note: If you specify a default access method for all tables (see §35.1.3 Specifying a default accessibility method), do not also use a PI marker to apply the same method to individual tables; the result is duplicate attribute assignments. See §22.14.4 Avoiding redundant attribute assignments in tables.

Previous Topic: 35.2.3 Assigning table-cell attribute values with dedicated formats

Next Topic: 36. Marking HTML table cells for WAI

Parent Topic: 35.2 Associating table cells with header cells

Sibling Topics:

35.2.1 Specifying group properties for header cells

35.2.2 Using paragraph formats for table-cell attributes

35.2.3 Assigning table-cell attribute values with dedicated formats

Table of Contents • Index