网页制作学习CSS2的听觉参考
2008-02-23 08:46:10来源:互联网 阅读 ()
听觉样式表
听觉样式表可把语音合成与音响效果相组合,使得用户可以听到信息,而不用进行阅读。
听觉呈现可用于:
- 视觉能力低弱的人士
- 帮助用户学习阅读
- 帮助有阅读障碍的用户
- 家庭娱乐
- 在汽车中使用
听觉呈现通常会把文档转化为纯文本,然后传给屏幕阅读器(可读出屏幕上所有字符的一种程序)。
听觉样式表的一个例子:
h1, h2, h3, h4 { voice-family: male; richness: 80; cue-before: url("beep.au") }
上面的例子可以让语音合成器演奏一段声音,然后用男性的声音读出标题。
CSS2 听觉参考
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) |
|
2 |
cue | A shorthand property for setting the cue-before and cue-after properties in one declaration |
|
2 |
cue-after | Specifies a sound to be played after speaking an element's content to delimit it from other |
|
2 |
cue-before | Specifies a sound to be played before speaking an element's content to delimit it from other |
|
2 |
elevation | Sets where the sound/voices should come from (vertically) |
|
2 |
pause | A shorthand property for setting the pause-before and pause-after properties in one declaration |
|
2 |
pause-after | Specifies a pause after speaking an element's content |
|
2 |
pause-before | Specifies a pause before speaking an element's content |
|
2 |
pitch | Specifies the speaking voice |
|
2 |
pitch-range | Specifies the variation in the speaking voice. (Monotone voice or animated voice?) |
|
2 |
play-during | Specifies a sound to be played while speaking an element's content |
|
2 |
richness | Specifies the richness in the speaking voice. (Rich voice or thin voice?) |
|
2 |
speak | Specifies whether content will render aurally |
|
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 |
|
2 |
speak-numeral | Specifies how to speak numbers |
|
2 |
speak-punctuation | Specifies how to speak punctuation characters |
|
2 |
speech-rate | Specifies the speed of the speaking |
|
2 |
stress | Specifies the "stress" in the speaking voice |
|
2 |
voice-family | A prioritized list of voice family names that contain specific voices |
|
2 |
volume | Specifies the volume of the speaking |
标签: 版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 上一篇:网页制作学习CSS2的打印属性 下一篇:网页教学 CSS 基础语法
相关文章
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设 网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源 网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它 服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护 软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷 网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash 热门词条
最新资讯
热门关注
热门标签
|