Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cjs 8.1 ic dna 1 #135

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions testcases.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Test Case documents are organized by Baseline Test (each serving as a Test Scena
* [Contrast - Insufficient contrast ratio for 18 point font (TC08.1-3-fail-2)](testcases/TC08.1-3-fail-2.html)
* [Contrast - 3:1 Contrast Ratio for 18 point font (TC08.1-3-pass-1)](testcases/TC08.1-3-pass-1.html)
* [Contrast - 3:1 contrast ratio for 14 point, bold font (TC08.1-3-pass-2)](testcases/TC08.1-3-pass-2.html)
* [Contrast - Insufficient contrast ratio in logotype, logo, or brand name image of text.](testcases/TC08.1-ic-dna-1.html)
* `10.` Forms
* [Form Names: no accessible name or description (TC10.1-1-fail-1)](testcases/TC10.1-1-fail-1.html)
* [Form Names: accessible name from placeholder attribute (TC10.1-all-pass-1)](testcases/TC10.1-all-pass-1.html)
Expand Down
52 changes: 52 additions & 0 deletions testcases/TC8.1-ic-dna-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
# The layout must be 'testcase'; DO NOT Change
layout: testcase

# Brief, descriptive title for the test case
title: insufficient contrast in logotype, logo, or brand name image of text

# 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: TC8.1-ic-dna-1

# 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 the visual presentation of text, images of text or logos. Logos or brand names of logos are exempt from testing.


# Reference and link to the applicable ICT Baseline test
app-baseline: |
[8.1 Test Procedure for Contrast Minimum](https://section508coordinators.github.io/ICTTestingBaseline/08Contrast.html#81-test-procedure-for-contrast-minimum)

**Baseline Test ID:** 8.1-Contrast

**Test Instruction:** IC


# Expected result that the ICT Baseline would predict
# [Pass | Fail | DNA]
result: DNA

# Brief description of the rationale for the expected result
result-descr: The code sample contains a logo. Logos are exempt from all contrast testing.

# 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/TF08/08.1-ic-dna-1.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| All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions). | Presence of a logo. |
|Result| Logos are exempt from all contrast testing.| Does Not Apply |
18 changes: 18 additions & 0 deletions testfiles/TF08/08.1-ic-dna-1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@


<!DOCTYPE html>
<html>
<head>
<title>imageoftext.jpg</title>
</head>

<body>
<div class="imageoftext">
<img src="file:///C:/Users/CECILIA.STEGALL/OneDrive%20-%20Department%20of%20Homeland%20Security/Desktop/Baseline%20Project%20Test%20Cases/Department%20of%20Homeland%20Security%20Seal.jpg">

</h3>
</div>
</body>


</html>