Rule 10.9.3

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

10.9

Test

10.9.3

Description

Dans chaque page web, pour chaque média temporel, l’information ne doit pas être donnée uniquement par la forme, taille ou position. Cette règle est-elle respectée ?

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