Rule 4.5.1
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
Test
Description
Chaque média temporel pré-enregistré seulement vidéo vérifie-t-il, si nécessaire, une de ces conditions (hors cas particuliers)?
- Il existe une audiodescription synchronisée
- Il existe une version alternative avec une audiodescription synchronisée.
Cas particuliers (4.5)
Voir cas particuliers critère 4.1.
Level
AA
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