Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

speak

The speak property allows you to specify whether the text is spoken and if so, in how. The possible values are normal, spell-out, and none. For example:

p {speak: normal}
acronym { speak : spell-out }

You have the following options:

  • Normal. Uses normal pronunciation rules. The browser uses language-based rules to convert your content to spoken words with appropriate inflection and pronunciation. For the vast majority of your page, this is the value you'll want to use
  • Spell-out. Spells the text one letter at a time. Useful for acronyms and abbreviations but not much use other than that
  • None. The tag is not spoken; it doesn't take up any time either

Note: There is a difference between a tag with the volume property set to silent and a tag with the speak property set to none. The former takes up the same time as if it had been spoken, (including any pause before and after the tag), but there is no sound. The latter doesn't take any time and is not rendered.