Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 26 Identifying HTML table structure for WAI > 26.1 Identifying table rows and columns > 26.1.3 Specifying a default accessibility method > 26.1.3.2 Applying the scope method to all tables
When AccessMethod=Scope
, Mif2Go supplies the following WAI attributes for every
table:
scope="colgroup"
for
any header cells marked ColGroup
; automatically
sets ColGroupElements=Yes
(see §24.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 §24.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.
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 §27.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 §24.3.2.4 Wrapping table row groups.