B.103. speak-punctuation

For use by aural (speaking) browsers for the visually impaired, this property controls how punctuation is read. Punctuation may either be read aloud (e.g. "period") or represented by pauses in the reading of surrounding text.

Inherited: Yes

See also: Section B.100speak, Section B.101speak-header, Section B.102speak-numeral

B.103.1. Value

This property accepts any of the following constants:

  • code: Punctuation is read aloud

  • none: Punctuation is implied by natural pauses

Initial value: none

B.103.2. Compatibility

CSS Version: 2

Not supported by any currently-available browser.

B.103.3. Example

This example causes aural browsers to read aloud punctuation occurring in any element of class spokenpunct:

 .spokenpunct { speak-punctuation: ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.