The speech properties provide specify how punctuation and numerals are spoken.
Two properties are used to provide this effect, they are speak-punctuation and speak-numeral.
Speak punctuation property
The speak-punctuation property contains following information:
- value: code, none, or inherit;
- initial: none;
- applies to: all elements;
- inherited: yes;
- percentages: N/A;
- media: aural;
- computed value: as specified.
The value code orders punctuations to be spoken literally while the value none will prevent rendering the punctuations and instead will try to render the content naturally with pauses and other means replacing the punctuation signs.
Speak numeral property
The speak-numeral property contains following information:
- value: digits, continuous or inherit;
- initial: continuous;
- applies to: all elements;
- inherited: yes;
- percentages: N/A;
- media: aural;
- computed value: as specified.
The value digits ensures that the numbers are spoken as individual digits, i.e. "35" will be "Three Five", while the value continuous ensures that the numbers are spoken as a full number, i.e. "35" will be "Thirty five".
Example
CSS speech properties example:
Comments
No comments have been made yet.
Please login to leave a comment. Login now