CSS - speak


The speak property is used to specify that the text will be used for aural media. It also specifies how it will be spoken, for example normal or spelt out.

Possible Values

  • normal − Directs the user agent to speak the text using the pronunciation rules for that element and its children.

  • none − Prevents the element from being spoken.

  • spell-out − Causes the user agent to speak the text one letter at a time, which is useful for speaking acronyms.

DOM Syntax

object.style.speak = "spell-out";

Applies to

All the HTML elements


Here is the example −

<style type = "text/css">
      acronym {speak: spell-out;}
      *.hidden {speak: none;}