W3C home > Mailing lists > Public > public-auto-wcag@w3.org > July 2015

Test Success Criteria of Guideline 1.2

From: Frank Berker <fb@ftb-esv.de>
Date: Thu, 02 Jul 2015 10:47:31 +0200
Message-ID: <5594FAA3.2000500@ftb-esv.de>
To: "public-auto-wcag@w3.org" <public-auto-wcag@w3.org>
Hi All,

onhttps://www.w3.org/community/auto-wcag/wiki/SC1-2-1-audio-only-alternative  I
noticed yesterday that the only automatic step is the selector (<audio>).
This restricts the test to HTML5, which is currently not the broadest spread
option to embed multimedia (please find some worst and best practice examples at the end of this mail).

So I suggest to describe the selector more hermeneutic, sth. like that:

All pages including elements containing files capable of playing audio.
Can be identified by any element having an attribute value containing a
media file format, such as .wav, .aif, .aiff, .mp3, .ogg, .oga, .mov, .mid,
.rm, .ra, .ram, .wma, .asf, .swf, .dcr, .avi, .mpg, .mpeg, .mp4, .m4v,
.webm, .flv, .isma
Note: The list of media formats may not be complete and new technologies
could be added in future.

XPath: <code>//*[contains(@*,'.mid') or contains(@*,'.mp3') or {other media
filetypes...} ]</code>

This way the test would be fully manual, but technology-agnostic.

Afterwards I would add Step 1: audio-only and step 2: prerecorded, each
returning inapplicable if not. Step 3 could check, if it's decoration. (same scheme on the other tests of G1.2.)

I would try to add fully manual tests for all SC. Then we can use it as a
base for identifying possibilities of automation. Please let me know your


Now the examples:

<a href="path/to/file/music.mp3" type="audio/mpeg">Play Sound</a>

<bgsound src="Pfad/zur/Datei/sound.mid" loop="infinite">

<META http-equiv="refresh" content="1;url=audio/song.mid">

<embed src="Pfad/zur/Datei/sound.mid" autostart="true" loop="true" hidden="true" height="0" width="0">

<object width="200" height="100" classid="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A">
	<param name="movie" value="http://Pfad/zum/Player/player.swf">
	<param name="allowfullscreen" value="true">
	<param name="allowscriptaccess" value="always">
	<param name="flashvars" value="file=http://Pfad/zur/Audio-Datei/audio.mp3">
	<embed id="player1" name="player1"
		width="200" height="100"

<OBJECT CLASSID="clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     ID=mymovie WIDTH=640 HEIGHT=480>
<PARAM NAME=src VALUE="mymovie.dcr">
    <EMBED SRC="$MO" WIDTH=$WI HEIGHT=$HE TYPE="application/x-director"

<IMG DYNSRC="waycool.mov" ALIGN=right HSPACE=12>

<video id="vid" width="569" height="320" controls tabindex="0">
     <source src="../source/headingsmap/headingsmap2.mp4" type="video/mp4" />
     <source src="../source/headingsmap/headingsmap2.webm" type="video/webm" />
     <source src="../source/headingsmap/headingsmap2.ogv" type="video/ogg" />

     <!-- the track tag is not currently implemented in any browser -->
     <track kind="caption" src="../source/headingsmap/captions.vtt" srclang=en label="English" />
     <track kind="audiodescription" src="../source/headingsmap/audiodescriptions.vtt" srclang=en label="English" />
     <!-- fallback if browser does not support the video tag -->
     <p>This browser does not support HTML 5 Video and thus cannot demonstrate this technique.</p>

Frank Berker
fb@ftb-esv.de                      http://ftb-esv.de
FTB - Forschungsinstitut Technologie und Behinderung
Grundschötteler Strasse 40,             58300 Wetter
Telefon: 02335/9681-34        Telefax: 02335/9681-19
Received on Thursday, 2 July 2015 08:48:11 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 2 July 2015 08:48:11 UTC