|
2 | 2 | 'http://www.w3.org/TR/html4/strict.dtd'> |
3 | 3 |
|
4 | 4 | <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 $ --> |
6 | 6 | <HEAD> |
7 | 7 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
8 | 8 | <TITLE>Aural style sheets</TITLE> |
@@ -62,6 +62,71 @@ paragraphs of class "peter" from the right. Paragraphs with class |
62 | 62 | </div> |
63 | 63 |
|
64 | 64 |
|
| 65 | +<H3>Angles</H3> |
| 66 | +<P>Angle values are denoted by <span class="index-def" |
| 67 | +title="<angle>::definition of"><a |
| 68 | +name="value-def-angle"><angle></a></span> in the text. |
| 69 | +Their format is a <span class="index-inst" |
| 70 | +title="<number>"><span |
| 71 | +class="value-inst-number"><number></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="<time>::definition of"><a name="value-def-time"><time></a></span> in the |
| 92 | +text. |
| 93 | +Their format is a <span class="index-inst" |
| 94 | +title="<number>"><span |
| 95 | +class="value-inst-number"><number></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="<frequency>::definition of"><a |
| 111 | +name="value-def-frequency"><frequency></a></span> in the text. |
| 112 | +Their format is a <span class="index-inst" |
| 113 | +title="<number>"><span |
| 114 | +class="value-inst-number"><number></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 | + |
65 | 130 | <H2><a name="volume-props">Volume properties</a>: <span |
66 | 131 | class="propinst-volume">'volume'</span></H2> |
67 | 132 |
|
@@ -643,6 +708,150 @@ following meanings:</P> |
643 | 708 | "Two hundred thirty seven". Word representations are language-dependent. |
644 | 709 | </dl> |
645 | 710 |
|
| 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 | +<TABLE> |
| 765 | +<CAPTION>Travel Expense Report</CAPTION> |
| 766 | +<TR> |
| 767 | + <TH></TH> |
| 768 | + <TH>Meals</TH> |
| 769 | + <TH>Hotels</TH> |
| 770 | + <TH>Transport</TH> |
| 771 | + <TH>subtotal</TH> |
| 772 | +</TR> |
| 773 | +<TR> |
| 774 | + <TH id="san-jose" axis="san-jose">San Jose</TH> |
| 775 | +</TR> |
| 776 | +<TR> |
| 777 | + <TH headers="san-jose">25-Aug-97</TH> |
| 778 | + <TD>37.74</TD> |
| 779 | + <TD>112.00</TD> |
| 780 | + <TD>45.00</TD> |
| 781 | + <TD></TD> |
| 782 | +</TR> |
| 783 | +<TR> |
| 784 | + <TH headers="san-jose">26-Aug-97</TH> |
| 785 | + <TD>27.28</TD> |
| 786 | + <TD>112.00</TD> |
| 787 | + <TD>45.00</TD> |
| 788 | + <TD></TD> |
| 789 | +</TR> |
| 790 | +<TR> |
| 791 | + <TH headers="san-jose">subtotal</TH> |
| 792 | + <TD>65.02</TD> |
| 793 | + <TD>224.00</TD> |
| 794 | + <TD>90.00</TD> |
| 795 | + <TD>379.02</TD> |
| 796 | +</TR> |
| 797 | +<TR> |
| 798 | + <TH id="seattle" axis="seattle">Seattle</TH> |
| 799 | +</TR> |
| 800 | +<TR> |
| 801 | + <TH headers="seattle">27-Aug-97</TH> |
| 802 | + <TD>96.25</TD> |
| 803 | + <TD>109.00</TD> |
| 804 | + <TD>36.00</TD> |
| 805 | + <TD></TD> |
| 806 | +</TR> |
| 807 | +<TR> |
| 808 | + <TH headers="seattle">28-Aug-97</TH> |
| 809 | + <TD>35.00</TD> |
| 810 | + <TD>109.00</TD> |
| 811 | + <TD>36.00</TD> |
| 812 | + <TD></TD> |
| 813 | +</TR> |
| 814 | +<TR> |
| 815 | + <TH headers="seattle">subtotal</TH> |
| 816 | + <TD>131.25</TD> |
| 817 | + <TD>218.00</TD> |
| 818 | + <TD>72.00</TD> |
| 819 | + <TD>421.25</TD> |
| 820 | +</TR> |
| 821 | +<TR> |
| 822 | + <TH>Totals</TH> |
| 823 | + <TD>196.27</TD> |
| 824 | + <TD>442.00</TD> |
| 825 | + <TD>162.00</TD> |
| 826 | + <TD>800.27</TD> |
| 827 | +</TR> |
| 828 | +</TABLE> |
| 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 | + |
646 | 855 | <h2><a name="emacsspeak">Emacsspeak</a></h2> |
647 | 856 |
|
648 | 857 | <p>For information, here is the list of properties implemented by |
|
0 commit comments