Skip to content

Commit

Permalink
Merge pull request #140 from Section508Coordinators/kengdoj-16.1-2-fa…
Browse files Browse the repository at this point in the history
…il-2

Test case and file for 16.1-2-fail-2
  • Loading branch information
kengdoj authored Oct 28, 2021
2 parents 6cfdb40 + 6f123e2 commit f502b95
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testcases.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* `16.` Audio-Only and Video-Only
* [Audio-Only - No audio-only content (TC16.1-ic-dna-1)](testcases/TC16.1-ic-dna-1.html)
* [Audio-Only - No transcript provided for audio-only content (TC16.1-1-fail-1)](testcases/TC16.1-1-fail-1.html)
* [Audio-Only - Transcript provided, but transcript is an image of text (with no text alternative) (TC16.1-2-fail-1)](testcases/TC16.1-2-fail-1.html)
* [Audio-Only - Transcript provided is an image of text (with no text alternative) (TC16.1-2-fail-1)](testcases/TC16.1-2-fail-1.html)
* [Audio-Only - Transcript provided is an image of text (with equivalent text alternative) (TC16.1-2-fail-2)](testcases/TC16.1-2-fail-2.html)
* [Audio-Only - Complete text transcript provided (TC16.1-all-pass-1)](testcases/TC16.1-all-pass-1.html)
* `17.` Synchronized Media
* [ Media Player Controls - no synchronized media player on page (TC17.1-ic-dna-1)](testcases/TC17.1-ic-dna-1.html)
Expand Down
55 changes: 55 additions & 0 deletions testcases/TC16.1-2-fail-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
# The layout must be 'testcase'; DO NOT Change
layout: testcase

# Brief, descriptive title for the test case
title: Audio-Only (Prerecorded) - Transcript provided as an image of text (with equivalent text alternative)


# The Test Case ID should follow the pattern:
# TC[Baseline Test Procedure #]-[Test Instruction #]-
# [Expected Result (pass/fail/dna)]-[example #], e.g., TC05.1-1-fail-1
tcid: TC16.1-2-fail-2

# Description of the Test Case, the included code sample, test considerations,
# and rationale for the expected result according to the applicable ICT
# Baseline test
descr: |
Detect existence of a text transcript for audio-only content.
The code sample contains audio-only content and an image of text for the transcript with equivalent text description. A successful test should identify a fail for Baseline 16.1-AudioOnlyTranscript because the transcript is not text.
# Reference and link to the applicable ICT Baseline test
app-baseline: |
[16.1 Test Procedure for Audio-only (Prerecorded)](https://section508coordinators.github.io/ICTTestingBaseline/16AudioVideo.html#161-test-procedure-for-audio-only-prerecorded)
**Baseline Test ID:** 16.1-AudioOnlyTranscript
**Test Instruction:** 2
# Expected result that the ICT Baseline would predict
# [Pass | Fail | DNA]
result: FAIL

# Brief description of the rationale for the expected result
result-descr: The transcript provided for audio-only content is an image.

# URL for the code sample
# In the sample code file, add id="tc_code" to the
# element that contains the relevant code snippet.
#
# Then upload the code sample to the 'testfiles' folder
# and provide the link (and only the url) below.
sample: /testfiles/TF16/16.1-2-fail-2.html

# Table of test instructions, including the following table headers:
# Test Instruction #; Instruction Detail; Expected Test Case Result
#
# Include the table in the content section below
---
| Test Instruction | Instruction Detail | Expected Test Case Result |
|------------------|--------------------|---------------------------|
| **IC-1** | Pre-recorded audio-only content. | There is audio-only content. |
| **16.1-1** | Check that the content provides transcript(s) for audio-only content. [SC 1.2.1] | Pass |
| **16.1-2** | Check that the transcript is text (i.e., an image of a transcript would not be sufficient to pass this test). | Fail, the transcript is not text. It is an image with equivalent alternative text. |
| **Result** | If any of the above checks fail, then Baseline Test 16.1-AudioOnlyTranscript fails. | Fail |
Loading

0 comments on commit f502b95

Please sign in to comment.