Skip to content

Commit 5e6f7ff

Browse files
committed
Rephrase background information about media types
Since the `speech` media type has now also been deprecated (see w3c#1751 (comment)), this clarifies that the CSS properties defined for CSS Speech Module apply to all media types, and that they cannot be scoped in the way that was described
1 parent 190c0ec commit 5e6f7ff

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

css-speech-1/Overview.bs

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,18 @@ Background information, CSS 2.1</h2>
6363
The CSS Speech module is a re-work of the informative
6464
<a href="https://www.w3.org/TR/CSS2/aural.html">CSS2.1 Aural appendix</a>,
6565
within which the ''aural'' media type was described,
66-
but also deprecated (in favor of the ''speech'' media type).
67-
Although the [[!CSS2]] specification reserves the ''speech'' media type,
68-
it doesn't actually define the corresponding properties.
69-
The Speech module describes the CSS properties
70-
that apply to the ''speech'' media type,
66+
but also deprecated (in favor of the ''speech'' media type, which has now
67+
also been deprecated).
68+
Although the [[!CSS2]] specification reserved the ''speech'' media type,
69+
it didn't actually define the corresponding properties.
70+
The Speech module describes the CSS properties that apply to speech output,
7171
and defines a new “box” model specifically for the aural dimension.
7272

73-
Content creators can conditionally include
74-
CSS properties dedicated to user agents
75-
with text to speech synthesis capabilities,
76-
by specifying the ''speech'' media type
77-
via the <code>media</code> attribute of the <{link}> element,
78-
or with the ''@media'' at-rule,
79-
or within an ''@import'' statement.
80-
When styles are authored within the scope of such conditional statements,
81-
they are ignored by user agents that do not support the Speech module.
73+
Content creators can include CSS properties for user agents with
74+
text to speech synthesis capabilities for any media type - though
75+
generally, they will only make sense for ''all'' and ''screen''.
76+
These styles are simply ignored by user agents that do not support
77+
the Speech module.
8278

8379
<h2 id="ssml-rel">
8480
Relationship with SSML</h2>

0 commit comments

Comments
 (0)