B.122. voice-family

For use by aural (speaking) browsers for the visually impaired, this property controls the voice family used to read the content of the element. A voice family embodies the vocal attributes of a particular character, and is the aural analogue to the font-family property.

Inherited: Yes

See also: Section B.87pitch, Section B.88pitch-range, Section B.92richness, Section B.105stress, Section B.123volume

B.122.1. Value

A comma-separated list of voice names. Voice names that contain spaces should be quoted (e.g. "Albert Einstein").

In addition to actual voice names, the list can contain any of the following generic voice names:

  • male

  • female

  • child

Since browsers will always be able to find a voice for each of these generic voice names, it only makes sense for the last name in the voice-family list to be one of these.

Initial value: browser specific

B.122.2. Compatibility

CSS Version: 2

Not supported by any currently-available browser.

B.122.3. Example

This example causes aural browsers to speak elements of class ominous in the voice of Igor, or in any male voice if the Igor voice family is not supported:

.ominous {
  voice-family: igor, male;
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.233.41