style.speakPunctuation (Property)

Part of the aural style control suite that defines whether punctuation is spoken, or whether it affects the phrasing and delivery of the speech.

Availability:

CSS level - 2
DOM level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.speakPunctuation
CSS syntax:speak-punctuation: aType
Argument list:aTypeA manner in which to speak punctuation characters

For some textual content, it may be important that the punctuation is spelled out one punctuation symbol at a time. In other contexts it may be appropriate for the text-to-speech handler to use the punctuation to control the phasing and intonation of the voice.

The none and code keywords can be used with this property.

The none keyword means that punctuation is interpreted and should affect the phasing of the spoken text.

The code keyword forces the text-to-speech output to enumerate each punctuation symbol as it is encountered. How this might affect the inflection and enunciation of the voice may be platform dependent.

Warnings:

See also:Aural style sheets