CSS voice-volume Property

Description

The voice-volume property allows authors to control the amplitude of the audio waveform generated by the speech synthesizer, and is also used to adjust the relative volume level of audio cues within the aural box model of the selected element.

The voice-volume property has been deprecated or is no longer in any CSS working groups.

Initial value
medium
Applies to
All elements
Inherited
Yes
Computed value
'silent', or a keyword value and optionally also a decibel offset (if not zero)
Animatable
No
JavaScript syntax
object.style.voiceVolume

Syntax

voice-volume: silent | [[x-soft | soft | medium | loud | x-loud] || <decibel>] 

Values

  • <decibel>A number immediately followed by "dB" (decibel unit).
  • silentSpecifies that no sound is generated (the text is read "silently").
  • x-softThe keyword 'x-soft' maps to the user's minimum audible volume level
  • softThe keyword 'soft' maps to intermediary values
  • mediumThe keyword 'medium' maps to the user's preferred volume level
  • loudThe keyword 'loud' maps to intermediary values
  • x-loudThe keyword 'x-loud' maps to the user's maximum tolerable volume level
  • inherit

Example

.class {
   voice-volume: loud; 
}

Browser Support

The following table will show you the current browser support for the CSS voice-volume property.

Desktop
Edge Chrome Firefox Opera Safari
?????
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
??????