Skip to content

Commit e0e09f7

Browse files
committed
[css2] Move speak-headers property to appendix A.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401872
1 parent 8c17590 commit e0e09f7

1 file changed

Lines changed: 1 addition & 145 deletions

File tree

css2/tables.src

Lines changed: 1 addition & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: tables.src,v 2.48 2002-04-22 22:05:22 bbos Exp $ -->
3+
<!-- $Id: tables.src,v 2.49 2002-04-29 19:15:56 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
66
<title>Tables</title>
@@ -1429,150 +1429,6 @@ it were coming out of the canvas. In the
14291429
border model</a>, same as 'ridge'.
14301430
</dl>
14311431

1432-
<h2>Audio rendering of tables</h2>
1433-
<p>When a table is spoken by a speech generator, the relation between
1434-
the data cells and the header cells must be expressed in a different
1435-
way than by horizontal and vertical alignment. Some speech browsers
1436-
may allow a user to move around in the 2-dimensional space, thus
1437-
giving them the opportunity to map out the spatially represented
1438-
relations. When that is not possible, the style sheet must specify at
1439-
which points the headers are spoken.</p>
1440-
1441-
<h3><a name="speak-headers">Speaking headers:</a> the <span
1442-
class="propinst-speak-header">'speak-header'</span> property</h3>
1443-
1444-
1445-
<!-- #include src=properties/speak-header.srb -->
1446-
1447-
<P>This property specifies whether table headers
1448-
are spoken before every
1449-
cell, or only before a cell when that cell is associated with a
1450-
different header than the previous cell. Values have
1451-
the following meanings:</p>
1452-
1453-
<dl>
1454-
<dt><strong>once</strong>
1455-
<dd>The header is spoken one time, before a series of
1456-
cells.
1457-
<dt><strong>always</strong>
1458-
<dd>The header is spoken before every pertinent cell.
1459-
</dl>
1460-
1461-
<p>Each document language may have different mechanisms that allow
1462-
authors to specify headers. For example, in HTML 4.0 ([[HTML40]]), it
1463-
is possible to specify header information with three different
1464-
attributes ("headers", "scope", and "axis"), and the specification
1465-
gives an algorithm for determining header information when these
1466-
attributes have not been specified.</p>
1467-
1468-
<div class="html-example">
1469-
<div class="figure">
1470-
<P><img src="images/table1.gif" alt="Image of a table created in MS
1471-
Word"><p class="caption"> Image of a table with header cells ("San
1472-
Jose" and "Seattle") that are not in the same column or row as the
1473-
data they apply to.
1474-
</div>
1475-
1476-
<p>This HTML example presents the money spent on meals, hotels and
1477-
transport in two locations (San Jose and Seattle) for successive
1478-
days. Conceptually, you can think of the table in terms of an
1479-
n-dimensional space. The headers of this space are: location, day,
1480-
category and subtotal. Some cells define marks along an axis while
1481-
others give money spent at points within this space. The markup
1482-
for this table is:</p>
1483-
1484-
<pre>
1485-
&lt;TABLE&gt;
1486-
&lt;CAPTION&gt;Travel Expense Report&lt;/CAPTION&gt;
1487-
&lt;TR&gt;
1488-
&lt;TH&gt;&lt;/TH&gt;
1489-
&lt;TH&gt;Meals&lt;/TH&gt;
1490-
&lt;TH&gt;Hotels&lt;/TH&gt;
1491-
&lt;TH&gt;Transport&lt;/TH&gt;
1492-
&lt;TH&gt;subtotal&lt;/TH&gt;
1493-
&lt;/TR&gt;
1494-
&lt;TR&gt;
1495-
&lt;TH id="san-jose" axis="san-jose"&gt;San Jose&lt;/TH&gt;
1496-
&lt;/TR&gt;
1497-
&lt;TR&gt;
1498-
&lt;TH headers="san-jose"&gt;25-Aug-97&lt;/TH&gt;
1499-
&lt;TD&gt;37.74&lt;/TD&gt;
1500-
&lt;TD&gt;112.00&lt;/TD&gt;
1501-
&lt;TD&gt;45.00&lt;/TD&gt;
1502-
&lt;TD&gt;&lt;/TD&gt;
1503-
&lt;/TR&gt;
1504-
&lt;TR&gt;
1505-
&lt;TH headers="san-jose"&gt;26-Aug-97&lt;/TH&gt;
1506-
&lt;TD&gt;27.28&lt;/TD&gt;
1507-
&lt;TD&gt;112.00&lt;/TD&gt;
1508-
&lt;TD&gt;45.00&lt;/TD&gt;
1509-
&lt;TD&gt;&lt;/TD&gt;
1510-
&lt;/TR&gt;
1511-
&lt;TR&gt;
1512-
&lt;TH headers="san-jose"&gt;subtotal&lt;/TH&gt;
1513-
&lt;TD&gt;65.02&lt;/TD&gt;
1514-
&lt;TD&gt;224.00&lt;/TD&gt;
1515-
&lt;TD&gt;90.00&lt;/TD&gt;
1516-
&lt;TD&gt;379.02&lt;/TD&gt;
1517-
&lt;/TR&gt;
1518-
&lt;TR&gt;
1519-
&lt;TH id="seattle" axis="seattle"&gt;Seattle&lt;/TH&gt;
1520-
&lt;/TR&gt;
1521-
&lt;TR&gt;
1522-
&lt;TH headers="seattle"&gt;27-Aug-97&lt;/TH&gt;
1523-
&lt;TD&gt;96.25&lt;/TD&gt;
1524-
&lt;TD&gt;109.00&lt;/TD&gt;
1525-
&lt;TD&gt;36.00&lt;/TD&gt;
1526-
&lt;TD&gt;&lt;/TD&gt;
1527-
&lt;/TR&gt;
1528-
&lt;TR&gt;
1529-
&lt;TH headers="seattle"&gt;28-Aug-97&lt;/TH&gt;
1530-
&lt;TD&gt;35.00&lt;/TD&gt;
1531-
&lt;TD&gt;109.00&lt;/TD&gt;
1532-
&lt;TD&gt;36.00&lt;/TD&gt;
1533-
&lt;TD&gt;&lt;/TD&gt;
1534-
&lt;/TR&gt;
1535-
&lt;TR&gt;
1536-
&lt;TH headers="seattle"&gt;subtotal&lt;/TH&gt;
1537-
&lt;TD&gt;131.25&lt;/TD&gt;
1538-
&lt;TD&gt;218.00&lt;/TD&gt;
1539-
&lt;TD&gt;72.00&lt;/TD&gt;
1540-
&lt;TD&gt;421.25&lt;/TD&gt;
1541-
&lt;/TR&gt;
1542-
&lt;TR&gt;
1543-
&lt;TH&gt;Totals&lt;/TH&gt;
1544-
&lt;TD&gt;196.27&lt;/TD&gt;
1545-
&lt;TD&gt;442.00&lt;/TD&gt;
1546-
&lt;TD&gt;162.00&lt;/TD&gt;
1547-
&lt;TD&gt;800.27&lt;/TD&gt;
1548-
&lt;/TR&gt;
1549-
&lt;/TABLE&gt;
1550-
</pre>
1551-
1552-
<p>By providing the data model in this way, authors make it
1553-
possible for speech enabled-browsers to explore the table in
1554-
rich ways, e.g., each cell could be spoken as a list, repeating the
1555-
applicable headers before each data cell:</p>
1556-
1557-
<pre>
1558-
San Jose, 25-Aug-97, Meals: 37.74
1559-
San Jose, 25-Aug-97, Hotels: 112.00
1560-
San Jose, 25-Aug-97, Transport: 45.00
1561-
...
1562-
</pre>
1563-
1564-
<p>The browser could also speak the headers only when they change:</p>
1565-
1566-
<pre>
1567-
San Jose, 25-Aug-97, Meals: 37.74
1568-
Hotels: 112.00
1569-
Transport: 45.00
1570-
26-Aug-97, Meals: 27.28
1571-
Hotels: 112.00
1572-
...
1573-
</pre>
1574-
</div>
1575-
15761432
</body>
15771433
</html>
15781434
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)