Skip to content

Commit af5661d

Browse files
committed
[css2] Moved text about <angle>, <frequency> and <time> from syndata to here.
Moved 'speak-headers' from tables to here. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401869
1 parent 87c8bf1 commit af5661d

1 file changed

Lines changed: 210 additions & 1 deletion

File tree

css2/aural.src

Lines changed: 210 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'http://www.w3.org/TR/html4/strict.dtd'>
33

44
<html lang="en">
5-
<!-- $Id: aural.src,v 2.30 2002-04-23 20:42:46 bbos Exp $ -->
5+
<!-- $Id: aural.src,v 2.31 2002-04-29 19:09:33 bbos Exp $ -->
66
<HEAD>
77
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
88
<TITLE>Aural style sheets</TITLE>
@@ -62,6 +62,71 @@ paragraphs of class "peter" from the right. Paragraphs with class
6262
</div>
6363

6464

65+
<H3>Angles</H3>
66+
<P>Angle values are denoted by <span class="index-def"
67+
title="&lt;angle&gt;::definition of"><a
68+
name="value-def-angle">&lt;angle&gt;</a></span> in the text.
69+
Their format is a <span class="index-inst"
70+
title="&lt;number&gt;"><span
71+
class="value-inst-number">&lt;number&gt;</span></span> immediately
72+
followed by an angle unit identifier.
73+
74+
<P>Angle unit identifiers are:</p>
75+
76+
<ul>
77+
<li><strong>deg</strong>: degrees
78+
<LI><strong>grad</strong>: grads
79+
<LI><strong>rad</strong>: radians
80+
</UL>
81+
82+
<p>Angle values may be negative. They should be normalized to the
83+
range 0-360deg by the user agent. For example, -10deg and 350deg are
84+
equivalent.
85+
86+
<P>For example, a right angle is '90deg' or '100grad' or
87+
'1.570796326794897rad'.
88+
89+
<H3>Times</H3>
90+
91+
<P>Time values are denoted by <span class="index-def" title="&lt;time&gt;::definition of"><a name="value-def-time">&lt;time&gt;</a></span> in the
92+
text.
93+
Their format is a <span class="index-inst"
94+
title="&lt;number&gt;"><span
95+
class="value-inst-number">&lt;number&gt;</span></span> immediately
96+
followed by a time unit identifier.
97+
98+
<P>Time unit identifiers are:</p>
99+
100+
<UL>
101+
<LI><strong>ms</strong>: milliseconds
102+
<LI><strong>s</strong>: seconds
103+
</UL>
104+
105+
<p>Time values may not be negative.
106+
107+
<H3>Frequencies</H3>
108+
109+
<P>Frequency values are denoted by <span class="index-def"
110+
title="&lt;frequency&gt;::definition of"><a
111+
name="value-def-frequency">&lt;frequency&gt;</a></span> in the text.
112+
Their format is a <span class="index-inst"
113+
title="&lt;number&gt;"><span
114+
class="value-inst-number">&lt;number&gt;</span></span> immediately
115+
followed by a frequency unit identifier.
116+
117+
<p>Frequency unit identifiers are:</p>
118+
119+
<ul>
120+
<li><strong>Hz</strong>: Hertz
121+
<li><strong>kHz</strong>: kilo Hertz
122+
</ul>
123+
124+
<p>Frequency values may not be negative.
125+
126+
<P> For example, 200Hz (or 200hz) is a bass sound, and 6kHz (or 6khz)
127+
is a treble sound.
128+
129+
65130
<H2><a name="volume-props">Volume properties</a>: <span
66131
class="propinst-volume">'volume'</span></H2>
67132

@@ -643,6 +708,150 @@ following meanings:</P>
643708
"Two hundred thirty seven". Word representations are language-dependent.
644709
</dl>
645710

711+
<h2>Audio rendering of tables</h2>
712+
<p>When a table is spoken by a speech generator, the relation between
713+
the data cells and the header cells must be expressed in a different
714+
way than by horizontal and vertical alignment. Some speech browsers
715+
may allow a user to move around in the 2-dimensional space, thus
716+
giving them the opportunity to map out the spatially represented
717+
relations. When that is not possible, the style sheet must specify at
718+
which points the headers are spoken.</p>
719+
720+
<h3><a name="speak-headers">Speaking headers:</a> the <span
721+
class="propinst-speak-header">'speak-header'</span> property</h3>
722+
723+
724+
<!-- #include src=properties/speak-header.srb -->
725+
726+
<P>This property specifies whether table headers
727+
are spoken before every
728+
cell, or only before a cell when that cell is associated with a
729+
different header than the previous cell. Values have
730+
the following meanings:</p>
731+
732+
<dl>
733+
<dt><strong>once</strong>
734+
<dd>The header is spoken one time, before a series of
735+
cells.
736+
<dt><strong>always</strong>
737+
<dd>The header is spoken before every pertinent cell.
738+
</dl>
739+
740+
<p>Each document language may have different mechanisms that allow
741+
authors to specify headers. For example, in HTML 4.0 ([[HTML40]]), it
742+
is possible to specify header information with three different
743+
attributes ("headers", "scope", and "axis"), and the specification
744+
gives an algorithm for determining header information when these
745+
attributes have not been specified.</p>
746+
747+
<div class="html-example">
748+
<div class="figure">
749+
<P><img src="images/table1.gif" alt="Image of a table created in MS
750+
Word"><p class="caption"> Image of a table with header cells ("San
751+
Jose" and "Seattle") that are not in the same column or row as the
752+
data they apply to.
753+
</div>
754+
755+
<p>This HTML example presents the money spent on meals, hotels and
756+
transport in two locations (San Jose and Seattle) for successive
757+
days. Conceptually, you can think of the table in terms of an
758+
n-dimensional space. The headers of this space are: location, day,
759+
category and subtotal. Some cells define marks along an axis while
760+
others give money spent at points within this space. The markup
761+
for this table is:</p>
762+
763+
<pre>
764+
&lt;TABLE&gt;
765+
&lt;CAPTION&gt;Travel Expense Report&lt;/CAPTION&gt;
766+
&lt;TR&gt;
767+
&lt;TH&gt;&lt;/TH&gt;
768+
&lt;TH&gt;Meals&lt;/TH&gt;
769+
&lt;TH&gt;Hotels&lt;/TH&gt;
770+
&lt;TH&gt;Transport&lt;/TH&gt;
771+
&lt;TH&gt;subtotal&lt;/TH&gt;
772+
&lt;/TR&gt;
773+
&lt;TR&gt;
774+
&lt;TH id="san-jose" axis="san-jose"&gt;San Jose&lt;/TH&gt;
775+
&lt;/TR&gt;
776+
&lt;TR&gt;
777+
&lt;TH headers="san-jose"&gt;25-Aug-97&lt;/TH&gt;
778+
&lt;TD&gt;37.74&lt;/TD&gt;
779+
&lt;TD&gt;112.00&lt;/TD&gt;
780+
&lt;TD&gt;45.00&lt;/TD&gt;
781+
&lt;TD&gt;&lt;/TD&gt;
782+
&lt;/TR&gt;
783+
&lt;TR&gt;
784+
&lt;TH headers="san-jose"&gt;26-Aug-97&lt;/TH&gt;
785+
&lt;TD&gt;27.28&lt;/TD&gt;
786+
&lt;TD&gt;112.00&lt;/TD&gt;
787+
&lt;TD&gt;45.00&lt;/TD&gt;
788+
&lt;TD&gt;&lt;/TD&gt;
789+
&lt;/TR&gt;
790+
&lt;TR&gt;
791+
&lt;TH headers="san-jose"&gt;subtotal&lt;/TH&gt;
792+
&lt;TD&gt;65.02&lt;/TD&gt;
793+
&lt;TD&gt;224.00&lt;/TD&gt;
794+
&lt;TD&gt;90.00&lt;/TD&gt;
795+
&lt;TD&gt;379.02&lt;/TD&gt;
796+
&lt;/TR&gt;
797+
&lt;TR&gt;
798+
&lt;TH id="seattle" axis="seattle"&gt;Seattle&lt;/TH&gt;
799+
&lt;/TR&gt;
800+
&lt;TR&gt;
801+
&lt;TH headers="seattle"&gt;27-Aug-97&lt;/TH&gt;
802+
&lt;TD&gt;96.25&lt;/TD&gt;
803+
&lt;TD&gt;109.00&lt;/TD&gt;
804+
&lt;TD&gt;36.00&lt;/TD&gt;
805+
&lt;TD&gt;&lt;/TD&gt;
806+
&lt;/TR&gt;
807+
&lt;TR&gt;
808+
&lt;TH headers="seattle"&gt;28-Aug-97&lt;/TH&gt;
809+
&lt;TD&gt;35.00&lt;/TD&gt;
810+
&lt;TD&gt;109.00&lt;/TD&gt;
811+
&lt;TD&gt;36.00&lt;/TD&gt;
812+
&lt;TD&gt;&lt;/TD&gt;
813+
&lt;/TR&gt;
814+
&lt;TR&gt;
815+
&lt;TH headers="seattle"&gt;subtotal&lt;/TH&gt;
816+
&lt;TD&gt;131.25&lt;/TD&gt;
817+
&lt;TD&gt;218.00&lt;/TD&gt;
818+
&lt;TD&gt;72.00&lt;/TD&gt;
819+
&lt;TD&gt;421.25&lt;/TD&gt;
820+
&lt;/TR&gt;
821+
&lt;TR&gt;
822+
&lt;TH&gt;Totals&lt;/TH&gt;
823+
&lt;TD&gt;196.27&lt;/TD&gt;
824+
&lt;TD&gt;442.00&lt;/TD&gt;
825+
&lt;TD&gt;162.00&lt;/TD&gt;
826+
&lt;TD&gt;800.27&lt;/TD&gt;
827+
&lt;/TR&gt;
828+
&lt;/TABLE&gt;
829+
</pre>
830+
831+
<p>By providing the data model in this way, authors make it
832+
possible for speech enabled-browsers to explore the table in
833+
rich ways, e.g., each cell could be spoken as a list, repeating the
834+
applicable headers before each data cell:</p>
835+
836+
<pre>
837+
San Jose, 25-Aug-97, Meals: 37.74
838+
San Jose, 25-Aug-97, Hotels: 112.00
839+
San Jose, 25-Aug-97, Transport: 45.00
840+
...
841+
</pre>
842+
843+
<p>The browser could also speak the headers only when they change:</p>
844+
845+
<pre>
846+
San Jose, 25-Aug-97, Meals: 37.74
847+
Hotels: 112.00
848+
Transport: 45.00
849+
26-Aug-97, Meals: 27.28
850+
Hotels: 112.00
851+
...
852+
</pre>
853+
</div>
854+
646855
<h2><a name="emacsspeak">Emacsspeak</a></h2>
647856

648857
<p>For information, here is the list of properties implemented by

0 commit comments

Comments
 (0)