听觉样式表
听觉样式表可把语音合成与音响效果相组合,使得用户可以听到信息,而不用进行阅读。
听觉呈现可用于:
- 视觉能力低弱的人士
- 帮助用户学习阅读
- 帮助有阅读障碍的用户
- 家庭娱乐
- 在汽车中使用
听觉呈现通常会把文档转化为纯文本,然后传给屏幕阅读器(可读出屏幕上所有字符的一种程序)。
听觉样式表的一个例子:
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 |
文章整理:西部数码--专业提供域名注册、虚拟主机服务 相关文章
热点关注
IDC资讯
虚拟主机
域名注册
托管租用
vps主机
智能建站
网站运营 建站经验 策划盈利 搜索优化 网站推广 免费资源 网站联盟 联盟新闻 联盟介绍 联盟点评 网赚技巧 行业资讯 业界动态 搜索引擎 网络游戏 门户动态 电子商务 广告传媒 网络编程 Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它 服务器技术 Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护 软件技巧 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷 Internet Explorer 网页制作 FrontPages Dreamweaver Javascript css photoshop fireworks Flash 程序设计 Java技术 C/C++ VB delphi 网络知识 网络协议 网络安全 网络管理 组网方案 Cisco技术 操作系统 Win2000 WinXP Win2003 Mac OS Linux FreeBSD |




