Cascading Style Sheets/Speech

From WikiKnowledge

Jump to: navigation, search

Using CSS you can also create style sheets to be used for people with difficulty reading.

Contents

[edit] speak

Opera
YES (CSS 2 values only)

Values are:

Value CSS Description
normal CSS 2 Speak the element as normal.
none CSS 2 Don't speak.
spell-out CSS 2 Spells the text one letter at a time.
digits CSS 3 Speak numbers as a single digit at a time.
literal-punctuation CSS 3 Read punctuation out literally.
no-punctuation CSS 3 Punctuation has no effect on the reading.
inherit CSS 2 Inherit this setting.

If an element is given a speak value of none, then the element will not be spoken. This is similar to setting display to none except the speak property can be over-ridden by child elements, whereas display:none cannot.

[edit] speech-rate

This controls how fast the speech is read. Values are:

<number> Speaking rate in words per minute.
x-slow 80 words per minute.
slow 120 words per minute.
medium 180 - 200 words per minute.
fast 300 words per minute.
x-fast 500 words per minute.
faster Adds 40 words per minute.
slower Subtracts 40 words per minute.
inherit Inherit this setting.

[edit] pause-before

Values are:

<time>
<percentage>
inherit
Inherit this setting.

[edit] pause-after

Values are:

<time>
<percentage>
inherit
Inherit this setting.

[edit] speak-punctuation

This property controls how punctuation is handled. Values are:

code
Read punctuation.
none
Punctuation is read as various stops and pauses.
inherit
Inherit this setting.

[edit] speak-numeral

This property controls how numbers are read. For example 234 can be read as two, three, four or as two hundred and thirty four. Its values are:

digits
Read the numbers as individual digits.
continuous
Read the number as a number.
inherit
Inherit this setting.

[edit] speak-header

Using this property you can specify weather headers in tables are spoken once or before every cell. Values are:

once
Speak the header once.
always
Speak the header before every cell.
inherit
Inherit this setting.

[edit] volume

Sets the volume for speech.

<number> A number between 0 and 100. 0 is the minimum audible volume level, not silence, and 100 is the maximum comfortable level.
<percentage>
silent
x-soft Same as 0.
soft Same as 25.
medium Same as 50.
loud Same as 75.
x-loud Same as 100.

[edit] voice-volume

Opera
As -xv-voice-volume

Sets the volume for speech. This property is similer to the CSS 2 property volume.

<number> A number between 0 and 100. 0 is silence, and 100 is the maximum level.
<percentage>
silent Same as 0.
x-soft Same as 10.
soft Same as 25.
medium Same as 50.
loud Same as 75.
x-loud Same as 100.
louder
softer
inherit

[edit] References

[edit] Navigation

Personal tools
Ads:

Your Ad Here