Skip to content

Commit 56cdca3

Browse files
committed
added new pending issues.
removed the descendants restriction for speakability:none and explained the expected behavior with pause collapsing and additive adjacent rests.
1 parent 4838288 commit 56cdca3

2 files changed

Lines changed: 82 additions & 21 deletions

File tree

css3-speech/Overview.html

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838

3939
<h1 id=top>CSS3 Speech Module</h1>
4040

41-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 06 February
41+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 07 February
4242
2011</h2>
4343

4444
<dl>
4545
<dt>This version:
4646

47-
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-speech-20110206">http://www.w3.org/TR/2011/ED-css3-speech-20110206</a>-->
47+
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-speech-20110207">http://www.w3.org/TR/2011/ED-css3-speech-20110207</a>-->
4848
<a
4949
href="http://dev.w3.org/csswg/css3-speech">http://dev.w3.org/csswg/css3-speech</a>
5050

@@ -162,7 +162,13 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
162162
CR period if there has not been enough interest from implementers:
163163

164164
<ul>
165-
<li><a href="#issue-phonemes">phonemes</a></li>
165+
<li><a href="#issue-phonemes">phonemes</a>
166+
167+
<li><a href="#issue-voice-cues-volume">audio cues volume level relative to
168+
voice-volume</a>
169+
170+
<li><a href="#issue-speakability-name">"speakability" not an ideal name
171+
?</a></li>
166172
<!-- li><a href="#issue-mark">mark</a></li -->
167173
<!-- li><a href="#issue-speak_none">speak:none</a></li -->
168174
</ul>
@@ -456,11 +462,23 @@ <h2 id=mixing-props><span class=secno>4. </span>Mixing properties:
456462
class=property>voice-volume</code></a>&rsquo; refers to the amplitude of
457463
the waveform output by the speech synthesiser. This may be mixed with
458464
other audio sources, influencing the perceived loudness of synthetic
459-
speech relative to these sources. &lsquo;<a href="#voice-volume"><code
465+
speech relative to these sources.
466+
467+
<p> &lsquo;<a href="#voice-volume"><code
460468
class=property>voice-volume</code></a>&rsquo; does not apply to <a
461469
href="#cue-props">audio cues</a> for which there is a separate means to
462470
set loudness (absolute, or relative to &lsquo;<a
463471
href="#voice-volume"><code class=property>voice-volume</code></a>&rsquo;).
472+
<span class=issue id=issue-voice-cues-volume> ISSUE: shouldn't audio cues
473+
be subjected to the voice-volume, so that an inaudible element gets its
474+
entire content (within the aural "box" model) muted as well ? The
475+
rationale is that voice-volume:silent is largely equivalent to
476+
visibility:hidden, which affects border, padding and spacing (i.e. the
477+
entire content with regards to the CSS "visual" box model). The audio cues
478+
should therefore only be allowed to set their volume levels
479+
<em>relatively</em> to the inherited voice-volume, not with absolute
480+
values as these may incorrectly enable audio output when the voice-volume
481+
itself is muted. </span>
464482

465483
<p>Values have the following meanings:</p>
466484
<!-- dl>
@@ -520,8 +538,11 @@ <h2 id=mixing-props><span class=secno>4. </span>Mixing properties:
520538
the &lsquo;<a href="#voice-volume"><code
521539
class=property>voice-volume</code></a>&rsquo; value and may therefore
522540
generate audio output). The latter requires no time and is not rendered in
523-
the aural dimension (including its descendants, which cannot override the
524-
inherited &lsquo;<code class=property>none</code>&rsquo; value).
541+
the aural dimension
542+
<!-- (including its descendants, which cannot override the inherited 'none' value). -->
543+
(although descendants may override the &lsquo;<a
544+
href="#speakability"><code class=property>speakability</code></a>&rsquo;
545+
value and may therefore generate audio output).
525546

526547
<table class=propdef summary="name: syntax">
527548
<tbody>
@@ -667,6 +688,9 @@ <h2 id=speaking-props><span class=secno>5. </span>Speaking properties:
667688
<td>speech
668689
</table>
669690

691+
<p class=issue id=issue-speakability-name> ISSUE: should the "speakability"
692+
property be named differently ? e.g. "speaking"
693+
670694
<p>This property specifies whether text will be rendered aurally.
671695

672696
<p>Values have the following meanings:
@@ -686,10 +710,18 @@ <h2 id=speaking-props><span class=secno>5. </span>Speaking properties:
686710

687711
<dd> This value causes an element (including pauses, cues, rests and
688712
actual content) to not be rendered (i.e., the element has no effect in
689-
the aural dimension). Descendant elements do not get rendered either;
690-
this behavior cannot be overridden by setting the &lsquo;<a
691-
href="#speakability"><code class=property>speakability</code></a>&rsquo;
692-
property on the descendants.
713+
the aural dimension).
714+
<p class=note> Note that any of the descendants of the affected element
715+
are allowed to override this value, so they may actually take part in
716+
the aural rendering. However, the pauses, cues, and rests of the
717+
ancestor element remain "deactivated" in the aural dimension, and
718+
therefore do not contribute to the <a href="#collapsing">collapsing of
719+
pauses</a> or additive behavior of adjacent rests.</p>
720+
<!--
721+
Descendant elements do not get rendered either;
722+
this behavior cannot be overridden by setting the 'speakability' property on the descendants.
723+
-->
724+
693725

694726
<dt><strong>normal</strong>
695727

@@ -708,11 +740,10 @@ <h2 id=speaking-props><span class=secno>5. </span>Speaking properties:
708740
class=property>normal</code>&rsquo;. In the case of &lsquo;<code
709741
class=property>normal</code>&rsquo;, this would result in descendants
710742
being rendered in the aural dimension even though they would not be
711-
rendered in the visual space. To ensure that an element <em>and its
712-
descendants</em> do not get rendered in the aural dimension, use the
713-
&lsquo;<code class=property>none</code>&rsquo; value for the &lsquo;<a
714-
href="#speakability"><code class=property>speakability</code></a>&rsquo;
715-
property.</p>
743+
rendered on the visual canvas.
744+
<!-- To ensure that an element <em>and its descendants</em> do not get rendered in the aural dimension,
745+
use the &lsquo;<code class=property>none</code>&rsquo; value for the &lsquo;<code class=property>speakability</code>&rsquo; property. -->
746+
</p>
716747
<!-- p class="note">
717748
Note that the value of the &lsquo;<code class=property>visibility</code>&rsquo; property (see [[!CSS3BOX]])
718749
may affect the computed value of &lsquo;<code class=property>voice-volume</code>&rsquo;, but do not affect the &lsquo;<code class=property>speakability</code>&rsquo; property.

css3-speech/Overview.src.html

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ <h2 id="status" class="no-num no-toc">Status of this document</h2>
9999
implementers:
100100
<ul>
101101
<li><a href="#issue-phonemes">phonemes</a></li>
102+
<li><a href="#issue-voice-cues-volume">audio cues volume level relative to voice-volume</a></li>
103+
<li><a href="#issue-speakability-name">"speakability" not an ideal name ?</a></li>
102104
<!-- li><a href="#issue-mark">mark</a></li -->
103105
<!-- li><a href="#issue-speak_none">speak:none</a></li -->
104106
</ul>
@@ -266,9 +268,21 @@ <h2 id="mixing-props"><span class="secno">4. </span>Mixing properties:
266268
<p>The 'voice-volume' refers to the amplitude of the waveform output by
267269
the speech synthesiser. This may be mixed with other audio sources,
268270
influencing the perceived loudness of synthetic speech relative
269-
to these sources. 'voice-volume' does not apply to <a href
271+
to these sources.
272+
</p>
273+
<p>
274+
'voice-volume' does not apply to <a href
270275
="#cue-props">audio cues</a> for which there is a separate means
271-
to set loudness (absolute, or relative to 'voice-volume').</p>
276+
to set loudness (absolute, or relative to 'voice-volume').
277+
278+
<span class="issue" id="issue-voice-cues-volume">
279+
ISSUE: shouldn't audio cues be subjected to the voice-volume,
280+
so that an inaudible element gets its entire content (within the aural "box" model) muted as well ?
281+
The rationale is that voice-volume:silent is largely equivalent to visibility:hidden,
282+
which affects border, padding and spacing (i.e. the entire content with regards to the CSS "visual" box model).
283+
The audio cues should therefore only be allowed to set their volume levels <em>relatively</em> to the inherited voice-volume, not with absolute values as these may incorrectly enable audio output when the voice-volume itself is muted.
284+
</span>
285+
</p>
272286

273287
<p>Values have the following meanings:</p>
274288

@@ -325,7 +339,8 @@ <h2 id="mixing-props"><span class="secno">4. </span>Mixing properties:
325339
including any pause before and after the element, but no sound is generated
326340
(although descendants may override the 'voice-volume' value and may therefore generate audio output).
327341
The latter requires no time and is not rendered in the aural dimension
328-
(including its descendants, which cannot override the inherited 'none' value).
342+
<!-- (including its descendants, which cannot override the inherited 'none' value). -->
343+
(although descendants may override the 'speakability' value and may therefore generate audio output).
329344
</p>
330345

331346

@@ -448,6 +463,10 @@ <h2 id="speaking-props"><span class="secno">5. </span>Speaking properties:
448463
</tbody>
449464
</table>
450465

466+
<p class="issue" id="issue-speakability-name">
467+
ISSUE: should the "speakability" property be named differently ? e.g. "speaking"
468+
</p>
469+
451470
<p>This property specifies whether text will be rendered aurally.</p>
452471

453472
<p>Values have the following meanings:</p>
@@ -464,8 +483,19 @@ <h2 id="speaking-props"><span class="secno">5. </span>Speaking properties:
464483
This value causes an element
465484
(including pauses, cues, rests and actual content)
466485
to not be rendered (i.e., the element has no effect in the aural dimension).
486+
<p class="note">
487+
Note that any of the descendants of the affected element
488+
are allowed to override this value, so they may actually take part in the aural rendering.
489+
However, the pauses, cues, and rests of the ancestor element remain
490+
"deactivated" in the aural dimension,
491+
and therefore do not contribute to the
492+
<a href="#collapsing">collapsing of pauses</a>
493+
or additive behavior of adjacent rests.
494+
</p>
495+
<!--
467496
Descendant elements do not get rendered either;
468497
this behavior cannot be overridden by setting the 'speakability' property on the descendants.
498+
-->
469499
</dd>
470500

471501
<dt><strong>normal</strong></dt>
@@ -477,9 +507,9 @@ <h2 id="speaking-props"><span class="secno">5. </span>Speaking properties:
477507
<p class="note">
478508
Note that although the 'none' value of the 'display' property cannot be overridden by descendants of the affected element (see [[!CSS3BOX]]),
479509
the 'auto' value of 'speakability' can however be overridden by descendants, using either of 'none' or 'normal'.
480-
In the case of 'normal', this would result in descendants being rendered in the aural dimension even though they would not be rendered in the visual space.
481-
To ensure that an element <em>and its descendants</em> do not get rendered in the aural dimension,
482-
use the 'none' value for the 'speakability' property.
510+
In the case of 'normal', this would result in descendants being rendered in the aural dimension even though they would not be rendered on the visual canvas.
511+
<!-- To ensure that an element <em>and its descendants</em> do not get rendered in the aural dimension,
512+
use the 'none' value for the 'speakability' property. -->
483513
</p>
484514

485515
<!-- p class="note">

0 commit comments

Comments
 (0)