Rule 4.3.1
Summary
This test consists in detecting all the links allowing to download a time-based media file and all the tags allowing to display a time-based media.
Business description
Criterion
Test
Description
Chaque média temporel synchronisé pré-enregistré vérifie-t-il, si nécessaire, l’une de ces conditions (hors cas particuliers)?
- Le média temporel synchronisé possède des sous-titres synchronisés
- Il existe une version alternative possédant des sous-titres synchronisés accessible via un lien ou bouton adjacent .
Cas particuliers (4.3)
Voir cas particuliers critère 4.1.
Level
A
Technical description
Scope
Page
Decision level
Semi-Decidable
Algorithm
Selection
Set1
- All links to download a time-based media file
- AND all the following tags:
<audio>
<bgsound>
<video>
<object>
<embed>
<svg>
<canvas>
css selector :
audio[src],
audio:has(source[src]),
bgsound,
video[src],
video:has(source[src]),
object[data],
embed[src],
svg,
canvas,
a[href~=(?i)\.(mp4|avi|wmv|mov|Xvid|mkv|mka|mks|FLV|rmvb|MPA|WMA|MP2|M2P|DIF|DV|VOB|VRO|rmvb|vivo|bik|ASF|ifo|mts|mxf|nds|rv|web|wlmp|wmp|ogv)]
a[href~=(?i)\.(WAV|CDA|MID|MP2|MP3|mp3PRO|MOD|RM|RAM|WMA|Ogg|oga|AIF|AIFF|AA|AAC|M4A|VQF|AU|M3U|RIFF|BWF|CAF|PCM|RAW|FLAC|ALAC|AC3|ACC)]
Process
Test1
Test whether Set1 is not empty. If yes, raise a MessageA.
MessageA : Check manually the elements of the scope
- code: ManualCheckOnElements
- status: Pre-qualified
- parameter: snippet
- present in source: yes
Analysis
Not Applicable
- The page has no tags allowing to display a time-based media
- The page has no link to download a time-based media file.
Pre-qualified
In all other cases