CSS Aural Справочник
Звуковые листы стиля
Акустические таблицы стилей используют комбинацию синтеза речи и звуковых эффектов, чтобы заставить пользователя прослушивать информацию, а не читать информацию.
Звуковое представление может быть использовано:
- by blind people
- to help users learning to read
- to help users who have reading problems
- for home entertainment
- in the car
- by print-impaired communities
Звуковой презентации преобразует документ в обычный текст и кормить его на экране читателя (программа, которая читает все символы на экране).
Пример звуковой таблицы стилей:
h1, h2, h3, h4
{
voice-family: male;
richness: 80;
cue-before: url("beep.au")
}
Приведенный выше пример сделает синтезатор речи играть звук, а затем говорить заголовки в очень богатый мужской голос.
CSS звуковой ссылки
Столбец "CSS" указывает, в какой версии CSS определено свойство (CSS1 или CSS2).
Свойство | Описание | Значения | CSS |
---|---|---|---|
azimuth | Устанавливает, откуда должен исходил звук | angle left-side far-left left center-left center center-right right far-right right-side behind leftwards rightwards |
2 |
cue | Задает свойства Cue в одном объявлении | cue-before cue-after |
2 |
cue-after | Указывает звук, который будет воспроизводиться после разговора с содержимым элемента | none url |
2 |
cue-before | Задает звуковой сигнал, который должен воспроизводиться, прежде чем говорить о содержимом элемента | none url |
2 |
elevation | Устанавливает, откуда должен исходил звук | angle below level above higher lower |
2 |
pause | Задает свойства приостановки в одном объявлении | pause-before pause-after |
2 |
pause-after | Задает паузу после разговора с содержимым элемента | time % |
2 |
pause-before | Задает паузу, прежде чем говорить содержимое элемента | time % |
2 |
pitch | Указывает говорящий голос | frequency x-low low medium high x-high |
2 |
pitch-range | Указывает вариацию речевого голоса. (монотонный голос или анимированный голос?) | number | 2 |
play-during | Указывает звук, который будет воспроизводиться во время разговора с содержимым элемента | auto none url mix repeat |
2 |
richness | Указывает богатство говорящего голоса. (богатый голос или тонкий голос?) | number | 2 |
speak | Указывает, будет ли содержимое отображаться на слух | normal none spell-out |
2 |
speak-header | Указывает способ обработки заголовков таблицы. Должны ли заголовки быть произнесены перед каждой ячейкой или только перед ячейкой с другим заголовком, чем предыдущая ячейка | always once |
2 |
speak-numeral | Указывает, как говорить чисел | digits continuous |
2 |
speak-punctuation | Указывает, как произносятся знаки препинания | none code |
2 |
speech-rate | Указывает скорость разговора | number x-slow slow medium fast x-fast faster slower |
2 |
stress | Указывает "стресс" в разговорном голосе | number | 2 |
voice-family | Указывает семейство голосов говорящего | specific-voice generic-voice |
2 |
volume | Указывает объем говорящего | number % silent x-soft soft medium loud x-loud |
2 |