B.89. play-during

Intended for use by aural browsers for the visually impaired, this property could have at least one practical use in mainstream browsers: providing a standard way to add background audio to a page. In aural browsers, this property sets the sound played in the background while the contents of a selected element are read aloud.

Inherited: No

See also: Section B.28cue

B.89.1. Value

Values for this property can take the following format:

play-during: url(uri) mix
> repeat

uri is the relative or absolute URL of the sound file you wish to have played during the reading of this element. The optional keyword mix, when present, causes the element's background sound to be mixed with the background sound of its parent element, instead ...

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.