Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS Aural Reference Manual

CSS Aural Reference Manual


Aural style sheets use a combination of speech synthesis and sound effects to let users listen to information rather than read it.

Aural presentation can be used for:

Aural presentation usually converts a document to plain text and then passes it to a screen reader (a program that can read aloud all the characters on the screen).

An example of an aural style sheet:

Example

h1

,

h2

,

h3

,

h4

{

   

voice-family

:

male

;

   

richness

:

80

;

   

cue-before

:

url

(

"beep.au"

)

}

The example above plays sounds with a speech synthesizer, beginning with a male voice speaking.


CSS Aural Reference Manual

The CSS" column indicates the CSS version in which the property was defined (CSS1 or CSS2).

Property Description Values CSS
azimuth Sets where the sound should come from angle
 left-side       

 far-left       

 left       

 center-left       

 center       

 center-right       

 right       

 far-right       

 right-side       

 behind       

 leftwards       

 rightwards | 2 |

| cue | Sets the cue properties in a single declaration cue-before
cue-after
| 2 | | cue-after | Specifies the sound to be played after the content of an element | none
url | 2 | | cue-before | Specifies the sound to be played before the content of an element | none
url | 2 | | elevation | Sets where the sound should come from | angle
below
level
above
higher
lower | 2 | | pause | Sets the pause properties in a single declaration | pause-before
pause-after
| 2 | | pause-after | Specifies a pause after the content of an element | time
%
| 2 | | pause-before | Specifies a pause before the content of an element | time
%
| 2 | | pitch | Specifies the speaking voice | frequency
x-low
low
medium
high
x-high | 2 | | pitch-range | Specifies the variation in the speaking voice (monotonous voice or dynamic voice?) | number | 2 | | play-during | Specifies the sound to be played while reading the content of an element | auto
none
url
mix
repeat | 2 | | richness | Specifies the richness of the speaking voice (full voice or thin voice?) | number | 2 | | speak | Specifies whether the content will be presented aurally | normal
none
spell-out | 2 | | speak-header | This property sets or retrieves whether table headers are spoken before all cells or only until a cell not associated with them is reached. | always
once | 2 | | speak-numeral | Sets or retrieves how numerals are pronounced. | digits
continuous | 2 | | speak-punctuation | Sets or retrieves how punctuation characters are pronounced | none
code | 2 | | speech-rate | Specifies the speaking rate | number
x-slow
slow
medium
fast
x-fast
faster
slower | 2 | | stress | Emphasizes the speaking voice at specified points | number | 2 | | voice-family | Sets or retrieves the current voice type | specific-voice
generic-voice
| 2 | | volume | Specifies the volume of the speech | *number
**%
*silent
x-soft
soft
medium
loud
x-loud  | 2 |