w3pop.com :: ÍøÂçѧԺ :: CSS :: CSS2 Aural
Aural style sheets use a combination of speech synthesis and sound effects to make the user listen to information, instead of reading information.
ÉùÒôÑùʽ±íʹÓÃÁ˽áºÏÑݽ²ÓëÉùÒôµÄЧ¹ûÀ´ÈÃÓû§¿ÉÒÔÌýÐÅÏ¢¶ø²»±ØÔĶÁÐÅÏ¢¡£
Aural presentation can be used:
ÉùÒôÐÅÏ¢¿ÉÒÔÔÚÏÂÃæÕâЩÁìÓòµÃµ½ÆÕ¼°£º
The aural presentation converts the document to plain text and feed this to a screen reader (a program that reads all the characters on the screen).
°ÑÎÄ×Öת»»ÎªÉùÒôµÄÐÎʽ(³ÌÐò¿ÉÒÔÔĶÁËùÓÐÆÁÄ»ÉϵÄ×Ö·û)
An example of an Aural style sheet:
ÉùÒôÑùʽ±íµÄ¾ÙÀý£º
h1, h2, h3, h4 |
The example above will make the speech synthesizer play a sound, then speak the headers in a very rich male voice.
ÉÏÊöÀý×Ó½«Æðµ½Á¼ºÃµÄ×ۺϷ¢ÑÔ£¬±êÌâ»áÓɷdz£¸»ÓдÅÐÔµÄÄÐÉùÀ´Ò»Ò»µÀ³ö¡£
W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).
| ÊôÐÔ | ÃèÊö | Öµ | W3C |
|---|---|---|---|
| azimuth | Sets where the sound/voices should come from (horizontally) ÉèÖûò¼ìË÷µ±Ç°ÉùÒôµÄÒô³¡½Ç¶È£¨Ë®Æ½£© |
angle left-side far-left left center-left center center-right right far-right right-side behind leftwards rightwards |
2 |
| cue | A shorthand property for setting the cue-before and cue-after properties in one declaration ÉèÖÃÔÚ¶ÔÏóǰºó²¥·ÅµÄÉùÒô |
cue-before cue-after |
2 |
| cue-after | Specifies a sound to be played after speaking an element's content to delimit it from other ÉèÖÃÔÚ¶ÔÏóºó²¥·ÅµÄÉùÒô¡£ |
none url |
2 |
| cue-before | Specifies a sound to be played before speaking an element's content to delimit it from other ÉèÖÃÔÚ¶ÔÏóǰ²¥·ÅµÄÉùÒô¡£ |
none url |
2 |
| elevation | Sets where the sound/voices should come from (vertically) ÉèÖûò¼ìË÷µ±Ç°ÉùÒôµÄÒô³¡½Ç¶È£¨´¹Ö±£© |
angle below level above higher lower |
2 |
| pause | A shorthand property for setting the pause-before and pause-after properties in one declaration ÉèÖöÔÏóǰºóµÄÉùÒôÔÝÍ£¡£ |
pause-before pause-after |
2 |
| pause-after | Specifies a pause after speaking an element's content ¶¨Òå¶ÔÏóÄÚÈݱ»·¢ÒôºóµÄÔÝÍ£¡£ |
time % |
2 |
| pause-before | Specifies a pause before speaking an element's content ¶¨Òå¶ÔÏóÄÚÈÝ·¢ÒôǰµÄÔÝÍ£¡£ |
time % |
2 |
| pitch | Specifies the speaking voice ÉèÖûò¼ìË÷Òô¸ß¡£ |
frequency x-low low medium high x-high |
2 |
| pitch-range | Specifies the variation in the speaking voice. (Monotone voice or animated voice?) ÉèÖûò¼ìË÷ÉùÒôµÄƽ»¬³Ì¶È |
number | 2 |
| play-during | Specifies a sound to be played while speaking an element's content ÉèÖûò¼ìË÷±³¾°ÒôÀֵIJ¥·Å |
auto none url mix repeat |
2 |
| richness | Specifies the richness in the speaking voice. (Rich voice or thin voice?) ÉèÖûò¼ìË÷µ±Ç°ÉùÒôµÄÒôÉ«¡£ |
number | 2 |
| speak | Specifies whether content will render aurally ÉèÖûò¼ìË÷ÉùÒôÊÇ·ñ¸ø³ö |
normal none spell-out |
2 |
| speak-header | Specifies how to handle table headers. Should the headers be spoken before every cell, or only before a cell with a different header than the previous cell Ö¸¶¨ÔõÑù³öÁбí¸ñµÄ±êÌâ |
always once |
2 |
| speak-numeral | Specifies how to speak numbers ÉèÖûò¼ìË÷Êý×ÖÈçºÎ·¢Òô |
digits continuous |
2 |
| speak-punctuation | Specifies how to speak punctuation characters ÉèÖûò¼ìË÷±êµã·ûºÅÈçºÎ·¢Òô¡£ |
none code |
2 |
| speech-rate | Specifies the speed of the speaking ÉèÖûò¼ìË÷·¢ÒôËÙ¶È |
number x-slow slow medium fast x-fast faster slower |
2 |
| stress | Specifies the "stress" in the speaking voice ºÍ pitch-range ÏàËÆ¡£ÉèÖûò¼ìË÷µ±Ç°ÉùÒô²¨ÐεÄ×î¸ß·åÖµ¡£ |
number | 2 |
| voice-family | A prioritized list of voice family names that contain specific voices ÉèÖûò¼ìË÷µ±Ç°ÉùÒôÀàÐÍ¡£ |
specific-voice generic-voice |
2 |
| volume | Specifies the volume of the speaking ÉèÖûò¼ìË÷ÒôÁ¿ |
number % silent x-soft soft medium loud x-loud |
2 |
ÆÀÂÛ (0)
All