Rule 4.2.2

Summary

This test consists in detecting all the links allowing to download a video file and all the tags allowing to display a video or an animated cartoon.

Business description

Criterion

4.2

Test

4.2.2

Description

Chaque média temporel pré-enregistré seulement vidéo vérifie-t-il une de ces conditions (hors cas particuliers) ?

Particular cases (criterion 4.2)

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 video file
  • AND all the following tags:
    • <video>
    • <object>
    • <embed>
    • <svg>
    • <canvas>

css selector :

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)]

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 <video>, <object>, <embed>, <svg> or <canvas> tag.
  • The page has no link to download a video file.

Pre-qualified

In all other cases

Files