aural

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The aural CSS media type is used for devices that have speech output capabilities.

Syntax

The aural CSS media type was used to specify a block of CSS that applied only when the content is being presented using a speech synthesis device.

css
@media aural {
  /* speech-specific styles here */
}

Examples

Basic example

css
@media aural {
  body {
    voice-family: Paul;
  }
}

Specifications

Specification
Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification

See also