XML technologies / CSS / Advanced websites with CSS / CSS property reference / speak-punctuation

(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)

Aural browsers can read punctuation aloud or indicate it through pauses. The property speak-punctuation describes how punctuation in an HTML element is read.

Inherited: yes

See also: speak, speak-header, speak-numeral

Values

This property speak-punctuation supports the following constants:

  • code: Punctuation is read aloud.

  • none: Punctuation is indicated by pauses.

Default value: none

Compatibility

CSS version: 2

Not supported by any current visual browser.

Example

The following style rule makes an aural browser read aloud all punctuation in elements of the class deutlich:

.deutlich {
 speak-punctuation: code;
}

  

 

 

 

back to top