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

Cs 6.4 2 f #122

Open
wants to merge 4 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
54 changes: 54 additions & 0 deletions testcases/TC06.4-2-fail-1.md
@@ -0,0 +1,54 @@
---
# The layout must be 'testcase'; DO NOT Change
layout: testcase

# Brief, descriptive title for the test case
title: '6.4 Images of Text - FAIL: image of text cannot be customized for font'


# 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: TC06.4-2-fail-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: |
The code sample presents a page with an image of text that cannot be customized for font. A successful test should identify a FAIL against Baseline Test 6.4 Images of Text.

# Reference and link to the applicable ICT Baseline test
app-baseline: |
[6.4 Test Procedure for Images of Text](https://github.com/Section508Coordinators/ICTTestingBaseline/blob/section508coordinators301/06Images.md#64-test-procedure-for-images-of-text)

**Baseline Test ID:** 6.4 Test Procedure for Images of Text

**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: FAIL since there is an image of text cannot be customized for font.

# 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/TF06/06.4-2-fail-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-1** | Identify any images of text, except where a particular presentation of text is essential to the information being conveyed (e.g., logotypes or text that is part of a logo or brand name).
| **6.4-1** | Check that using text cannot achieve the same visual presentation and effect as images of text. `[SC 1.4.5`] | Fail: using text could achieve the same visual presentation and effect. |
| **6.4-2** | Check that the image of text can be visually customized to a user's requirements. `[SC 1.4.5`] | Fail: image of text cannot be customized for font. |
| FAIL; page has an image of text that cannot be customized for font. |
29 changes: 29 additions & 0 deletions testfiles/TF06/06.4-2-fail-1.html
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>6.4 Images of Text - FAIL: image of text cannot be customized for font</title>
</head>
<body>
<div id="tc_code">
<!-- Due to fetch script limitation that only works within the <body>,
the relevant code is duplicated here as a comment for the Test Case:
<html>

-->
This page has image of text cannot be customized for font and should be FAIL for 6.4 Images of Text.
<p>
<img src="../assets/images/signup.jpg" alt="Sign up by filling out the form below!">
</p>
<p>
<label for="fname" disabled>First name:</label>
<input type="text" id="fname" name="fname" disabled><br><br>
<label for="lname" disabled>Last name:</label>
<input type="text" id="lname" name="lname" disabled><br><br>
<input type="submit" value="Submit" disabled>

</p>
</div>

</body>
</html>
Binary file added testfiles/assets/images/signup.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.