B.28. cue

Sound cues are used by aural (speaking) browsers for the visually impaired as "audio icons". This is a shorthand property that lets you specify the cue-before and cue-after properties with a single property declaration.

Inherited: No

See also: Section B.29cue-before, Section B.29cue-after

B.28.1. Value

One or two URLs (specified with CSS url() syntax) that point to sound files. If one URL is provided, it is assigned to cue-before and cue-after—the sound is played before and after the element. If two URLs are provided, the first is assigned to cue-before and the second to cue-after.

Initial value: none

B.28.2. Compatibility

CSS Version: 2

Not supported by any currently-available browser.

B.28.3. Example

This example plays ding.wav ...

Get HTML Utopia: Designing Without Tables Using CSS 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.