W3C home > Mailing lists > Public > w3c-wai-hc@w3.org > October to December 1997

example tables

From: Al Gilman <asgilman@access.digex.net>
Date: Wed, 5 Nov 1997 22:47:24 -0500 (EST)
Message-Id: <199711060347.WAA21737@access5.digex.net>
To: w3c-wai-hc@w3.org (HC team)
There are three cases here.

The point of how I have edited the code and composed the ASCII
art versions is to come up with examples which will be legible if
embossed in 40-column Braille.

Jason, If you get a chance tell me if there is anything horribly
stupid about my assumptions regarding preparing this to be dumped
to Braille.  If you review nothing else, check the ASCII art,
locatable by PRE markup.  Will that be legible in Braille at
40 columns?

Dave, I referred to some SPANs and not only [TH | TD] with
"headers."  If that is strictly illegal, I will take it out.

There are examples of SCOPE and HEADERS in this, along with one
table that one reads by rows, one that is primarily read by
columns, and a Z-table (the expense report) where both row and
column heads are input conditions and the output dimension is the
cell content (called Z-table to imagine out-of-the-page).

I need to get these to Judy tomorrow early (EST) if I am going
to get them Brailled for Austin.  So I have just the rest
of the day in Australia and the morning in Europe for y'all
to save me from my sins...

---------------------------example 1---------------------------
<html><head>

<title>TABLE example with SCOPE
</title></head>

<body>

<H3>In Table Form</H3>
<TABLE
 summary="History courses in Bath
 giving course name,
 tutor, summary, code and fee">

<TR><TH colspan="5"
 scope="colgroup">Community Courses -
 Bath Autumn 1997</TH></TR>

<TR><TH scope="col"
 abbr="Name">Course Name</TH>
<TH scope="col"
 abbr="Tutor">Course Tutor</TH>
<TH scope="col">Summary</TH>
<TH scope="col">Code</TH>
<TH scope="col">Fee</TH></TR>

<TR><TD scope="row"
 abbr="H27">After the Civil War</TD>
<TD>Dr John Wroughton</TD>
<TD>The course will examine the
 turbulent years in England after
 1646.  <EM>6 weekly meetings starting
 Monday 13th October.</EM></TD>
<TD>H27</TD>
<TD>&pound;32</TD></TR></TABLE>

<H3>List transcription</H3>
<P>
History courses in Bath
 giving course code, name,
 tutor, summary and fee --
 Autumn 1997

<DL>
<DT>Code</DT><DD>Description</DD>
 <DT>H27</DT>
 <DD>Name: After the Civil War</DD>
 <DD>Tutor: John Wroughton</DD>
 <DD>Fee: &pound;32</DD>
 <DD>Summary: The course will examine 
 the turbulent years in England after
 1646.  <EM>6 weekly meetings starting
 Monday 13th October.</EM></DD></DL>

<H3>ASCII art mockup -- list form</H3>
<P><PRE>
History courses in Bath giving
 course code, name, tutor, summary and
 fee -- Autumn 1997

   Code   Description
   H27    Name: After the Civil War
          Tutor: John Wroughton
          Fee: #32
          Summary: The course will
          examine the turbulent years
          in England after 1646.
          6 weekly meetings starting
          Monday 13th October.
</PRE>
</body></html>

--------------------------------example 2-----------------------------

<HTML><HEAD>
<TITLE>California Zephyr</TITLE>
<!-- This is a cut down version of
 the page to be found at 
 http://www.dot.ca.gov/hq/rail/czsched.htm -->
</HEAD>

<BODY>
<TABLE BORDER=5 CELLPADDING=3
 CELLSPACING=3> <CAPTION>California
 Zephyr</CAPTION>

<TR><TD>EAST<TD><TD><TD>
 <TD>WEST</TD></TR>
<TR><TD>DOWN<TD><TD><TD>
 <TD>UP</TD></TR>
<TD>6<TD><TD>Station<TD>
 <TD>5</TD></TR>

<TD>8:00a<TD>Lv<TD>SAN FRANCISCO 1
 <TD>Ar<TD>6:00p</TD></TR>

<TD>4:05p<TD>Ar<TD>RENO, NV<TD>Lv
 <TD>10:06a</TD></TR>

<TD>3:15a<TD>Ar<TD>SALT
 LAKE CITY, UT
 <TD>Lv<TD>1:00a</TD></TR>

<TD>8:30p<TD>Lv<TD>DENVER, CO
 <TD>Ar<TD>9:35a</TD></TR>

<TD>4:15p<TD>Lv<TD>CHICAGO, IL
 <TD>Lv<TD>3:05p</TD></TR> </table>

</BODY> </HTML>

-----------------------example 3 ----------------------------------------

<html>
<head>
<title>Expense Account Table v0.1</title>
</head>
<body>
<h1>Example table -- mock expense report</h1>
<P>ASCII graphics mockup:<PRE>

TRAVEL EXPENSES (actual cost, US$)

TRIP,      Meals   Room  Trans.  Total
 date
         |      |      |       |
SAN JOSE
 25Aug97   37.74 112.00  45.00
 26Aug97   27.28 112.00  45.00
subtotal   65.02 224.00  90.00  379.02
         |      |      |       |
SEATTLE
 27Aug97   96.25 109.00  36.00
 28Aug97   35.00 109.00  36.00
subtotal  131.25 218.00  72.00  421.25
         |      |      |       |
Total     196.27 442.00 162.00  800.27
</PRE>
<P>
<TABLE border="border">
<CAPTION>TRAVEL EXPENSES (actual cost, 
US$)</CAPTION>
    
<THEAD><TR><TH><P>
 <SPAN ID="T1-R1-L1">TRIP</SPAN>,
 <BR><SPAN ID="T1-R1-L2">&nbsp;date
 </SPAN></P></TH>
<TH scope="column">Meals</TH>
 <TH scope="column">Room</TH>
 <TH scope="column">Trans.</TH>
 <TD scope="column">Total</TD> 
</TR></THEAD>
      
<TBODY><TR>
 <TH scope="rowgroup"
 headers="T1-R1-L1">San Jose</TH></TR>

<TR><TD scope="row"
 headers="T1-R1-L2">&nbsp;25Aug97</TD>
<TD>37.74</TD>
<TD>12.00</TD>
<TD>45.00</TD></TR>

<TR><TD scope="row"
 headers="T1-R1-L2">&nbsp;26Aug97</TD>
 <TD>27.28</TD>
 <TD>112.00</TD>
 <TD>45.00</TD></TR>
<TR><TD scope="row">subtotal</TD>
 <TD>65.02</TD>
 <TD>224.00</TD>
 <TD>90.00</TD>
 <TD>379.02</TD></TR>
</TBODY>
      
<TBODY><TR><TH scope="rowgroup"
 headers="T1-R1-L1">Seattle</TH></TR>
<TR><TD scope="row"
 headers="T1-R1-L2">&nbsp;27Aug97</TD>
 <TD>96.25</TD>
 <TD>109.00</TD>
 <TD>36.00</TD></TR>
<TR><TD scope="row"
 headers="T1-R1-L2">&nbsp;28Aug97</TD>
 <TD>35.00</TD>
 <TD>109.00</TD>
 <TD>36.00</TD></TR>
<TR><TD scope="row">subtotal</TD>
 <TD>131.25</TD>
 <TD>218.00</TD>
 <TD>72.00</TD>
 <TD>421.25</TD></TR>
</TBODY>

<TBODY><TR><TH scope="row">Totals</TH>
 <TD>196.27</TD>
 <TD>442.00</TD>
 <TD>162.00</TD>
 <TD>800.27</TD></TR>
</TBODY>

</TABLE>
</body></html>
Received on Wednesday, 5 November 1997 22:47:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:11 UTC