• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 21. Aural Cascading Style Sheets > Speech Sub-Group of Properties

21.14. Speech Sub-Group of Properties

There is one final sub-grouping of like properties in the aural style sheets portion of the CSS2 specification. The oddly non-descriptive speech sub-group of properties contains two properties that tell the browser how it should handle reading things like numbers and dates aloud. These two properties are the speak-punctuation and speak-numeral properties.

The speak-punctuation and speak-numeral properties are similar in that they allow Web authors to specify exactly how certain parts of a Web page's text should be played back. speak-punctuation determines whether the punctuation marks that exist in the text should be named as the text is read aloud (“Hello there semi-colon”), or whether the text should flow normally according to the punctuation rules (“Hello there;”). Similarly, speak-numeral determines whether a string of numbers should be read as “one two three” or as “one hundred and twenty-three.” Both of the properties can be said to operate in a similar way to the spell-out value for the speech property.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint