OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-accessibility message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: investigation on multi row/col headers





---------------------
Hironobu Takagi, PhD.
User Experience and Accessibility Technology
Tokyo Research Laboratory, IBM Research
+81-46-215-4557
E-mail: takagih@jp.ibm.com

Page 1. Multiple levels of row or column headers

Blank

---------------

Page 2. WCAG 1.0, checkpoint 5.2

For data tables that have two or more logical levels of row or column headers, use markup to associate data cells and header cells. [Priority 1]

---------------

Page 3. HTML Example

<TABLE border="1“>

<CAPTION>Travel Expense Report</CAPTION>

<TR>

<TH></TH> <TH id="header2" axis="expenses">Meals <TH id="header3" axis="expenses">Hotels <TH id="header4" axis="expenses">Transport <TD>subtotals</TD>

<TR>

<TH id="header6" axis="location">San Jose <TH> <TH> <TH> <TD>

<TR>

<TD id="header7" axis="date">25-Aug-97 <TD headers="header6 header7 header2">37.74 <TD headers="header6 header7 header3">112.00 <TD headers="header6 header7 header4">45.00 <TD>

<TR>

<TD id="header8" axis="date">26-Aug-97 <TD headers="header6 header8 header2">27.28 <TD headers="header6 header8 header3">112.00 <TD headers="header6 header8 header4">45.00 <TD>

<TR>

<TD>subtotals <TD>65.02 <TD>224.00 <TD>90.00 <TD>379.02

<TR>

<TH id="header10" axis="location">Seattle <TH> <TH> <TH> <TD>

<TR>

<TD id="header11" axis="date">27-Aug-97 <TD headers="header10 header11 header2">96.25 <TD headers="header10 header11 header3">109.00 <TD headers="header10 header11 header4">36.00 <TD>

<TR>

<TD id="header12" axis="date">28-Aug-97 <TD headers="header10 header12 header2">35.00 <TD headers="header10 header12 header3">109.00 <TD headers="header10 header12 header4">36.00 <TD>

<TR>

<TD>subtotals <TD>131.25 <TD>218.00 <TD>72.00 <TD>421.25

<TR>

<TH>Totals <TD>196.27 <TD>442.00 <TD>162.00 <TD>800.27

</TABLE>

---------------

Page 4. Column header supported by ODF (Example 1)

<table:table>

<table:table-header-columns>

<table:table-column/>

</table:table-header-columns>

<table:table-column/>

<table:table-column/>

<table:table-column/>

<table:table-column/>

<table:table-row>

<table:table-cell/>

</table:table>

---------------

Page 5. Column header supported by ODF (Example 2)

<table:table>

<table:table-header-columns>

<table:table-column/>

<table:table-column/>

</table:table-header-columns>

<table:table-column/>

<table:table-column/>

<table:table-column/>

<table:table-row>

<table:table-cell/>

</table:table>

---------------

Page 6. Multiple column header area

Column header area can be made from multiple lines (Example 2).

Table element can contain more than one column header area only when it has column grouping element.

Table cells do not have information which column header is assigned.

---------------

Page 7. Example of <table:table-column-group> in spreadsheet document

<office:spreadsheet>

<table:table table:name="A" table:style-name="ta1">

<office:forms form:automatic-focus="false" form:apply-design-mode="false"/>

<table:table-column-group>

<table:table-column table:style-name="co1" table:number-columns-repeated="2" table:default-cell-style-name="Default"/>

</table:table-column-group>

<table:table-column table:style-name="co1" table:default-cell-style-name="Default"/>

<table:table-row table:style-name="ro1">

<table:table-cell office:value-type="float" office:value="1“><text:p>1</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="10“><text:p>10</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.A1:.B1])" office:value-type="float" office:value="11“><text:p>11</text:p></table:table-cell>

</table:table-row>

<table:table-row table:style-name="ro1">

<table:table-cell office:value-type="float" office:value="2“><text:p>2</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="20“><text:p>20</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.A2:.B2])" office:value-type="float" office:value="22“><text:p>22</text:p></table:table-cell>

</table:table-row>

<table:table-row table:style-name="ro1">

<table:table-cell office:value-type="float" office:value="3“><text:p>3</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="30“><text:p>30</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.A3:.B3])" office:value-type="float" office:value="33“><text:p>33</text:p>

</table:table-cell>

</table:table-row>

<table:table-row table:style-name="ro1">

<table:table-cell office:value-type="float" office:value="4“><text:p>4</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="40“><text:p>40</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.A4:.B4])" office:value-type="float" office:value="44“><text:p>44</text:p></table:table-cell>

</table:table-row>

</table:table>

</office:spreadsheet>

---------------

Page 8. Multiple column header area  by using <table:table-column-group>

<table:table>

<table:table-column-group>

<table:table-header-columns>

<table:table-column/>

</table:table-header-columns>

<table:table-column/>

<table:table-column/>

</table:table-column-group>

<table:table-column-group>

<table:table-header-columns>

<table:table-column/>

</table:table-header-columns>

<table:table-column/>

</table:table-column-group>

<table:table-row>

<table:table-cell/>

</table:table>

---------------

Page 9. Row header supported by ODF (Example 3)

<table:table>

<table:table-header-rows>

<table:table-row>

</table:table-row>

</table:table-header-rows>

<table:table-row>

</table:table>

---------------

Page 10. Row header supported by ODF (Example 4)

<table:table>

<table:table-header-rows>

<table:table-row>

</table:table-row>

<table:table-row>

</table:table-row>

</table:table-header-rows>

<table:table-row>

</table:table>

---------------

Page 11. Multiple row header area

Row header area can be made from multiple lines (Example 4).

Table can contain more than one row header area only when it contain row grouping element.

Table cells do not have information which row header is assigned.

---------------

Page 12. Example of <table:table-row-group> in spreadsheet document

<office:spreadsheet>

<table:table table:name="A" table:style-name="ta1">

<office:forms form:automatic-focus="false" form:apply-design-mode="false"/>

<table:table-column table:style-name="co1" table:number-columns-repeated="4" table:default-cell-style-name="Default"/>

<table:table-row-group>

<table:table-row table:style-name="ro1">

<table:table-cell office:value-type="float" office:value="1"><text:p>1</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="2“><text:p>2</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="3“><text:p>3</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="4“><text:p>4</text:p></table:table-cell>

</table:table-row>

<table:table-row table:style-name="ro1">

<table:table-cell office:value-type="float" office:value="10“><text:p>10</text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="20“><text:p>20 </text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="30“><text:p>30 </text:p></table:table-cell>

<table:table-cell office:value-type="float" office:value="40“><text:p>40</text:p></table:table-cell>

</table:table-row>

</table:table-row-group>

<table:table-row table:style-name="ro1">

<table:table-cell table:formula="oooc:=SUM([.A1:.A2])" office:value-type="float" office:value="11“><text:p>11</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.B1:.B2])" office:value-type="float" office:value="22“><text:p>22</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.C1:.C2])" office:value-type="float" office:value="33“><text:p>33</text:p></table:table-cell>

<table:table-cell table:formula="oooc:=SUM([.D1:.D2])" office:value-type="float" office:value="44“><text:p>44</text:p></table:table-cell>

</table:table-row>

</table:table>

</office:spreadsheet>

---------------

Page 13. Multiple row header area  by using <table:table-row-group>

<table:table>

<table:row-group>

<table:table-header-rows>

<table:table-row>

</table:table-row>

</table:table-header-rows>

<table:table-row>

</table:row-group>

<table:row-group>

<table:table-header-rows>

<table:table-row>

</table:table-row>

</table:table-header-rows>

<table:table-row>

</table:row-group >

</table:table>

---------------

Page 14. backup

Blank

---------------

Page 15. 8.2.2 Header Columns (ODF 1.1 spec, page 195)

If a table does not fit on a single page, table columns that are included in a <table:table-header-columns> element are automatically repeated on every page. A table must not contain more than one <table:table-header-columns> element, and a <table:table-columns> must not follow another <table:table-columns> element, with the only exception of tables that contain grouped columns (see 8.2.3). Such tables may contain more than one <table:table-header-columns> element, provided that they are contained in different column groups and the columns contained in the elements are adjacent.

---------------

Page 16. 8.2.4 Header Rows (ODF 1.1 spec, page 196)

If a table does not fit on a single page, table rows that are included in a <table:table-header-rows> element are automatically repeated on every page. A table must not contain more than one <table:table-header-rows> element. The one exception to this is a table that contains grouped rows (see 8.2.5). Such a table may contain more than one <table:table-header-rows> element, provided that they are contained in different row groups and the rows contained in the elements are adjacent.

---------------

Page 17. 8.2.3 Column Groups (ODF 1.1 spec, page 195)

Adjacent table columns can be grouped with the <table:table-column-group> element. Every group can contain a new group, columns, and column headers. A column group can be visible or hidden. Column groups can for instance used by spreadsheet applications to group columns that are summarized, so that the individual columns that contribute to the sum can be made invisible easily, but the sum remains visible.

---------------

Page 18. 8.2.5 Row Groups (ODF 1.1 spec, page 196)

Adjacent table rows can be grouped with the <table:table-row-group> element. Every group can contain a new group, rows, and row headers. A row group can be visible or hidden. Row groups can for instance used by spreadsheet applications to group rows that are summarized, so that the individual rows that contribute to the sum can be made invisible easily, but the sum remains visible.

Multiple Levels of Table Headers v3.odp



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]