W3docs

CSS speak Property

How to use the speak CSS property to make the element render aurally. Read about the property and see values.

Note: The speak property is obsolete and has very limited browser support. Consider using modern accessibility APIs for aural rendering.

The speak property defines whether or not the text should be rendered aurally.

It has six values. The following values are specified in CSS2.1:

  • none
  • normal
  • spell-out

Additional values are defined in the CSS Speech Module:

  • auto
  • never
  • always
Initial Valuenormal
Applies toAll elements.
InheritedYes.
AnimatableNo.
VersionCSS2, CSS Speech Module
DOM Syntaxelement.style.speak = "always";

Syntax

CSS speak syntax

speak: auto | normal | spell-out | none | never | always | initial | inherit;

You can insert the following piece of code with the speak property in your CSS code:

CSS speak code example

.example {
  speak: none;
}

Values

ValueDescription
nonePrevents the element and its contents from being rendered aurally.
normalUses language-dependent pronunciation rules for rendering an element and its children.
spell-outSpells the text one letter at a time, typically used for acronyms and abbreviations.
autoResolves to a computed value of none when display is none, otherwise resolves to auto which yields a used value of normal.
neverPrevents the element from being rendered aurally.
alwaysThe element is rendered aurally.
initialMakes the property use its default value.
inheritInherits the property from its parent element.

Browser Compatibility

BrowserSupport
ChromeNo
FirefoxNo
SafariNo
EdgeNo
OperaNo

Practice

Practice

What is the use of the 'speak' property in CSS, and what values can it take?