##### 35.1.3.2 Applying the scope method to all tables

When AccessMethod=Scope, DITA2Go supplies the following WAI attributes for every table:

- scope="colgroup" for any header cells marked ColGroup; automatically sets ColGroupElements=Yes (see §33.3.2.3 Enumerating table column groups) if any column-header cells are so specified.
- scope="rowgroup" for any left-side cells marked RowGroup; automatically sets HeadFootBodyTags=Yes (see §33.3.2.4 Wrapping table row groups) if any row-header cells are so specified.
- scope="row" or scope="col" for the remaining header cells.
- If a header cell spans more than one column or row (and is not marked ColGroup or RowGroup), it must have an ID even though the method is scope, because there is no WAI attribute for scope="colspan" (or "rowspan"); such header cells get id="spanN" and the cells affected by them get headers="spanN".

In addition, AccessMethod=Scope sets [Tables] properties ScopeColGroup, ScopeRowGroup, ScopeCol, and ScopeRow; and sets ColSpanIDs and RowSpanIDs for other straddling header cells. See §36.2 Using the scope method to identify table cells for more information.

Note: If any of your tables have footer rows, when you use the scope method the resulting HTML might contain some surprises; see §33.3.2.4 Wrapping table row groups.

Previous Topic: 35.1.3.1 Establishing a basic policy for table accessibility

Next Topic: 35.1.3.3 Applying the id/headers method to all tables

Parent Topic: 35.1.3 Specifying a default accessibility method

Sibling Topics:

35.1.3.1 Establishing a basic policy for table accessibility

35.1.3.3 Applying the id/headers method to all tables

Table of Contents • Index