35.1.2 Comparing scope and id/headers accessibility methods

scope method

The scope method works well for simple tables. DITA2Go places a single attribute in each column-header or row-header cell, to apply that header to the rest of the cells in the same column or row.

id / headers method

The id/headers method is better for complex tables. DITA2Go names each header cell (gives it an id=name attribute) and also indicates that cell’s applicability by specifying the headers=name attribute in every affected cell.

Both methods

For some table structures it can also make sense to mix methods, such as using the id/headers method for columns and the scope method for rows.

Previous Topic:  35.1.1 Developing a strategy for row and column markup

Next Topic:  35.1.3 Specifying a default accessibility method

Parent Topic:  35.1 Identifying table rows and columns

Sibling Topics:

35.1.1 Developing a strategy for row and column markup

35.1.3 Specifying a default accessibility method

35.1.4 Overriding the default accessibility method

Table of ContentsIndex