Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Test for WCAG success criterion 1.2.2: Captions (Prerecorded) #172

Open
hannolans opened this issue Mar 4, 2014 · 1 comment
Open

Test for WCAG success criterion 1.2.2: Captions (Prerecorded) #172

hannolans opened this issue Mar 4, 2014 · 1 comment

Comments

@hannolans
Copy link
Contributor

http://www.w3.org/TR/UNDERSTANDING-WCAG20/media-equiv-captions.html

Captions are provided for all prerecorded audio content in synchronized media, except when the media is a media alternative for text and is clearly labeled as such.

Scope selector

video content

Applicable

Prerecorded audio content in synchronized media

Not applicable

  • Live video content
  • Video without audio
  • When the media is a media alternative for text and is clearly labeled as such

HTML Failures

  • F74: Not labeling a synchronized media alternative to text as an alternative

OR

  • F75: Providing synchronized media without captions when the synchronized media presents more information than is presented on the page

OR

  • F8: Captions omitting some dialogue or important sound effects

HTML Techniques

  • G93: Providing open (always visible) captions

OR

Relationship between failures and techniques

  • F75 and F8 can only be measured with speech-to-text technology
  • G93 can only be measured with image recognition technology, as it will otherwise be a 'cantTell'. This implies this success criterion will always have the outcome: pass, not applicable or cantTell and will never fail.
  • F74 has three outcomes: not applicable, pass or fail. If it passes (so video is clearly labeled as text alternative), this succes criterion is not applicable. Failing is hard to detect if we don't have a technique for G93 (open captions).
  • G93: using statistics. If we cant measure G93, we could make assumptions with statistics? This technique seems rarely used for captions, so we could assume this a fail. Advanced solution: make screenshots and check with simple OCR if there is text.
  • This success criterion is about prerecorded content. So we should detect if it is prerecorded and not live content. We can detect this on the kind of video format is used (streaming video formats) or if a pause button or end time is available.
@hannolans hannolans added this to the Round 3 - time-based media milestone Mar 4, 2014
@jessebeach
Copy link
Member

We could write a test to detect SMIL markup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants