Rule 4.7.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

4.7

Test

4.7.1

Description

Pour chaque média temporel seulement son, seulement vidéo ou synchronisé, le contenu textuel adjacent permet-il d’identifier clairement le média temporel (hors cas particuliers) ?

Particular cases (criterion 4.7)

Il existe une gestion de cas particulier lorsque le média temporel est utilisé à des fins décoratives (c’est-à-dire qu’il n’apporte aucune information). Dans cette situation, le critère est non applicable.

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

Files