Name

cue-after, cue-before — NN n/a IE n/a CSS 2

Synopsis

Inherited: No

For aural style sheets only, a cue is a sound (also known as an auditory icon) that can be used to aurally delimit the reading of document content. The cue-before and cue-after attributes are URIs to sound files that are to be played before and after the content is rendered via text-to-speech or other aural medium.

CSS Syntax

cue-after: uri | none
cue-before: uri | none

Value

Any valid complete or relative URL to a sound file in a MIME type supported by the browser. You may apply the same values to both attributes for the same style selector if it makes aural sense for the listener.

Initial Value

none

Example

LI {cue-before: url(ding.wav); cue-after(dong.wav)}

Applies To

All elements.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.