W3C home > Mailing lists > Public > www-style@w3.org > October 2011

[css3-speech] LC comment: use of generic SPAN element in voice-stress example and client-side use question

From: Gregory Rosmaita <gregory.rosmaita@gmail.com>
Date: Fri, 30 Sep 2011 23:15:25 -0400
Message-ID: <CAEPrdkAihYvnvz=XGVNd5dpP=iBD7p-C1WxpWyRp3Egic1RxDQ@mail.gmail.com>
To: www-style@w3.org, wai-xtech <wai-xtech@w3.org>

currently, the example contained in 10.5. "The 'voice-stress' property"
contains speech values applied via use of the generic SPAN element --
while there is nothing inherently wrong with this approach as it is
markup-language agnostic, and hence may be intentional...  i wonder,
however, if a "learning opportunity" may be lost by not providing an
example that includes the sort of real-life bindings for which css3 may
be most extensively used:

for example, a VERY simple client-side css3-speech stylesheet might

body { voice-stress: normal; }
i { voice-stress: moderate; }
em { voice-stress: moderate; }
b { voice-stress: strong; }
strong { voice-stress: strong; }

as a means of ensuring that an end user can set equivalent values for
synonymical bits of markup -- in the age of script-driven sites and
aggregated content, it is not unusual for a single "document instance"
to contain content that uses both the EM/STRONG and B/STRONG tandem


1. is this something that could/should be addressed/included as an
informative appendix?  a sample client-side css3-speech stylesheet for
"generic" HTML-based browsing?  if so, i could assist in the composition
of such an appendix/example...

2. do client-side css3-speech settings over-ride or compliment author-
defined speech styling?  using the simple client side stylesheet
thumbnailed above, would the voice-stress settings set by the user
trump those provided by an author, or -- if the author provides different
css3-speech properties than those provided by the user (for example, a
change in voice-stress or voice-volume) -- could/would the client AND
author provided properties be applied to the marked text?

for example, barring the presence of a !important on the client-side
css3-speech stylesheet, could a speech output user set the currently
active speech engine to apply both the user-defined AND the author
defined properties, should the end user so desire?

<!-- client-side stylesheet -->
body { voice-stress: normal; }
i { voice-stress: moderate; }
b { voice-stress: strong; voice-volume: loud; }

<!-- author-defined stylesheet -->
i { voice-range: high; }
b { voice-range: x-high; }

It is better to ask some of the questions than to know
all the answers.                      -- James Thurber
    Gregory J. Rosmaita: gregory.rosmaita@gmail.com
         Camera Obscura: http://www.hicom.net/~oedipus
Oedipus' Online Complex: http://my.opera.com/oedipus
Received on Saturday, 1 October 2011 03:15:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:05 UTC