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

> 27 Marking HTML table cells for WAI > 27.3 Using the id/headers method to identify table cells > 27.3.10 Using span IDs with row or column IDs

### 27.3.10 Using span IDs with row or column IDs

When ColIDs=Yes:

• If ColSpanIDs=No, Mif2Go interprets horizontally straddled cells in a column-header row as applying to all the body cells below them. For example, if the first cell in column 2 also straddles the cell next to it in column 3, Mif2Go generates headers="col2" for the body cells in columns 2 and 3.

• If ColSpanIDs=Yes, the cells are identified as follows:

– The straddling cell gets id="span n" instead of id="col2".

– The two non-straddling cells in the first row below the straddling cell get id="col2" (left cell) and id="col3" (right cell).

– The rest of the non-straddling cells below get headers="col2" (left column) and headers="col3" (right column).

– All cells below the straddling cell get headers="span n".

When RowIDs=Yes:

• If RowSpanIDs=No, Mif2Go interprets vertically straddled cells in a row-header column as applying to all the body cells to the right of them. For example, if the first cell in row 2 also straddles the cell below it in row 3, Mif2Go generates headers="row2" for the body cells in rows 2 and 3.

• If RowSpanIDs=Yes, the cells are identified as follows:

– The straddling cell gets id="span n" instead of id="row2".

– The two non-straddling cells in the first column to the right of the straddling cell get id="row2" (top cell) and id="row3" (bottom cell).

– The rest of the non-straddling cells to the right get headers="row2" (top row) and headers="row3" (bottom row).

– All cells to the right of the straddling cell get headers="span n".

See §27.3.6 Using span attributes to identify rows and columns for more information about RowSpanIDs.

> 27 Marking HTML table cells for WAI > 27.3 Using the id/headers method to identify table cells > 27.3.10 Using span IDs with row or column IDs

| Mif2Go User's Guide: 27.3.9 Column and row extent |  | Mif2Go User's Guide: 27.4 Overriding default table-cell settings |