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.

Note: This media type has been deprecated in favor of speech.

Syntax

The aural CSS media type—which has been deprecated in favor of the speech media type—was used to specify a block of CSS that applied only when the content is being presented using a speech synthesis device.

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

Updating existing CSS to use the speech media type should be as simple as replacing aural with speech.

Examples

Basic example

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

Specifications

Specification Status Comment
CSS Level 2 (Revision 2)
The definition of 'aural' in that specification.
Deprecated Initial definition.

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/aural