Rule 4.13.2

Summary

This test consists in detecting all the links allowing to download a time-based media file, all the tags allowing to display a time-based media and all the tags allowing to display a no time-based media.

Business description

Criterion

4.13

Test

4.13.2

Description

Chaque média temporel et non temporel qui possède une alternative compatible avec les technologies d’assistance, vérifie-t-il une de ces conditions ?

  • L’alternative est adjacente au média temporel ou non temporel.
  • L’alternative est accessible via un lien ou bouton adjacent.
  • Un mécanisme permet de remplacer le média temporel ou non temporel par son alternative.

Particular cases (criterion 4.13)

Il existe une gestion de cas particulier lorsque le média temporel ou non temporel est utilisé à des fins décoratives (c’est-à-dire qu’il n’apporte aucune information). Dans ces situations, 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]),
svg,
canvas,
object[data],
embed[src]
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 no time-based media
  • 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