-
Notifications
You must be signed in to change notification settings - Fork 18
WAudio
WAudio is a component for creating audio output controls.
Every use of WAudio must comply with the requirements outlined in Media Accessibility User Requirements. The WCAG quick references pertinent to WAudio can be found at Guideline 1.2, Guideline 1.4.2 and Guideline 1.4.7.
WAudio is based on a HTML audio element. This is embedded content and is, in itself, phrasing content. However, it may be converted to, or be wrapped in, other components depending upon the user agent and the audio media.
For all design purposes you should assume that WAudio includes non-phrasing content and interactive controls.
WAudio will output links to source (and track if provided) files in any user agent which is unable to play any of the audio provided.

When set true this property will cause the audio to play automatically in supported browsers. Use of this setting is discouraged as it may conflict with WCAG guideline 1.4.2. It is recommended that audio clips be played only on user request as outlined in G171. Some common user agents which support native audio players disable autoplay.
This is a Boolean property which if true will cause the audio to automatically restart once it finishes. This defaults to false and should generally be left there. This property should never be specified; it is in the API for completeness and is under review.
See toolTip.
- Media Accessibility User Requirements;
- WCAG guideline 1.2;
- WCAG guideline 1.4.2;
- Understanding 1.4.2;
- WCAG guideline 1.4.7;
- Understanding 1.4.7;
- JavaDoc;
- JSDoc (media player with legacy support);
- SchemaDoc;
- HTML Specification;
- List of WComponents.