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

Update test case guide #142

Open
wants to merge 58 commits into
base: bletalien-testCaseGuide
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6f123e2
files for 16.1-2-fail-2
kengdoj Oct 28, 2021
f502b95
Merge pull request #140 from Section508Coordinators/kengdoj-16.1-2-fa…
kengdoj Oct 28, 2021
44af5c9
Made test update to base README.md
Nov 4, 2021
25070d7
Merge pull request #143 from Section508Coordinators/adk_Testcases
Nov 5, 2021
df518de
Change "wither" to "whether"
bletalien Jan 3, 2022
c477c8a
Changed "conrast" to "contrast"
bletalien Jan 3, 2022
34157ef
Update 12.1-3-fail-1.html
cliffbert Feb 3, 2022
e3c5578
Merge pull request #146 from Section508Coordinators/bletalien-fixTypo
kengdoj Feb 10, 2022
f2735ad
13.3 test cases
kengdoj Mar 15, 2022
9cfcdcf
dna tc
kengdoj Mar 16, 2022
eea7698
13.4 tc
kengdoj Mar 16, 2022
4d15181
Merge pull request #153 from Section508Coordinators/kengdoj-13.3
kengdoj Mar 16, 2022
b146184
13.4-3
kengdoj Mar 16, 2022
913ec18
more 13.4 tc
kengdoj Mar 16, 2022
8286a41
Merge pull request #154 from Section508Coordinators/kengdoj-13.4
kengdoj Mar 16, 2022
c1c29a9
5.1, 10.4, 10.7 (#145)
JohnCotterSSA Apr 7, 2022
242e7e3
init (#148)
JohnCotterSSA Apr 12, 2022
97297e1
Cotter 06.3 (#149)
JohnCotterSSA Apr 12, 2022
7db0590
draft
jzmnbrjs Jul 6, 2022
84d2045
10.5-1-fail-1
jzmnbrjs Jul 6, 2022
c388d2f
10.5-1-pass-1
jzmnbrjs Jul 7, 2022
03d9f06
10.5-1-pass-2
jzmnbrjs Jul 7, 2022
cf88e9c
draft
jzmnbrjs Jul 7, 2022
f6c2a57
jzmnbrjs Jul 7, 2022
0eb46d9
changes
jzmnbrjs Jul 12, 2022
b0ee110
Update TC10.5-1-pass-3.md
jzmnbrjs Jul 12, 2022
7e971e1
just updates the testcases.md
jzmnbrjs Jul 14, 2022
1e41f64
practice draft
jzmnbrjs Jul 14, 2022
4ad5625
Update testcases.md
jzmnbrjs Jul 14, 2022
5986bce
Update testcases.md
jzmnbrjs Jul 14, 2022
57aa6a8
Update testcases.md
kengdoj Jul 15, 2022
9918164
Merge pull request #159 from Section508Coordinators/jzmnbrjs-patch-1
kengdoj Jul 15, 2022
5f202cb
gitignore update
drewnielson Aug 16, 2022
d3c9386
Vip 14.1 1 fail 1 (#129)
vprentice Aug 26, 2022
0a59b9f
8.1-3-Pass-2 for Review (#111)
CJStegall Aug 26, 2022
94d4222
Revert "8.1-3-Pass-2 for Review (#111)" (#163)
drewnielson Aug 26, 2022
410654c
CStegall (#164)
drewnielson Aug 26, 2022
839c2f3
Cs11 (#112)
cliffbert Aug 28, 2022
52de425
Bletalien testcases (#94)
bletalien Aug 29, 2022
d2a0970
Added TC11.1-1,2 (#113)
cliffbert Sep 12, 2022
c6ce537
Cliff 11pass1 (#115)
cliffbert Sep 12, 2022
fa67c96
Cs 1.2 dna (#116)
cliffbert Sep 12, 2022
811946e
Cs 2.1 foc dna (#117)
cliffbert Sep 12, 2022
412086e
Cs dna img txt (#118)
cliffbert Sep 12, 2022
2eb665a
Cs 6.3 dna (#120)
cliffbert Sep 12, 2022
2b2b397
Add files via upload (#119)
cliffbert Sep 12, 2022
d9d424e
Cs 6.4 1 fail 1 (#121)
cliffbert Sep 12, 2022
d8ea4ae
intro and contributing updates (#168)
drewnielson Mar 16, 2023
e7ec4ad
remove footer (#170)
drewnielson Mar 16, 2023
26e7579
Cs 13.3 ic dna1 (#128)
cliffbert Apr 17, 2023
94ef44e
TC8.1-3-pass-1.md is ready for review (#126)
CJStegall May 13, 2023
ff19a3c
Cjs 8.1 3 fail 2 (#131)
CJStegall May 13, 2023
081c30e
Bump tzinfo from 1.2.9 to 1.2.10 (#160)
dependabot[bot] May 13, 2023
5ada32c
Cjs 8.1 2 fail 2 (#132)
CJStegall May 13, 2023
d05fd80
Cjs 8.1 2 fail 3 (#136)
CJStegall May 15, 2023
773e3ac
ECASOGP-12830: Update the UI to match the Section508 site (#180)
istankevychgsa Aug 26, 2024
d474eeb
Delete package-lock.json
drewnielson Aug 27, 2024
d41a98c
Fix path prefix for assets (#181)
istankevychgsa Sep 17, 2024
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ _site
.sass-cache
.jekyll-metadata
.jekyll-cache
node_modules
public/
*~
*dwsync.xml
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ gem "minima", "~> 2.5"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem "webrick", "~> 1.8"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Expand All @@ -28,3 +29,5 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]


gem "webrick", "~> 1.8"
8 changes: 2 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,8 @@ GEM
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tzinfo (1.2.9)
thread_safe (~> 0.1)
tzinfo-data (1.2021.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.7.0)
wdm (0.1.1)
webrick (1.8.1)

PLATFORMS
x64-mingw32
Expand All @@ -86,6 +81,7 @@ DEPENDENCIES
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
webrick (~> 1.8)

BUNDLED WITH
2.2.14
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ The ICT Baseline Alignment Validation Framework provides test cases as a way for
## How to Contribute
Working Group members can use the [editor on GitHub](https://github.com/Section508Coordinators/BaselineTestPages/edit/master/README.md) to directly edit this file to add references. Members can also navigate to the [Baseline Test Pages repository](https://github.com/Section508Coordinators/BaselineTestPages) to add files to test. Static pages can be viewed via GitHub Pages from this repository at the following url: <https://section508coordinators.github.io/BaselineTestPages/>.

Contributors do not need to be highly technical nor make a long-term commitment, although both skills and time can certainly be helpful. The ICT Baseline Alignment Working Group needs help developing and evaluating test cases. Accessibility advocates are also needed to spread the word about the Framework, develop a governance structure, participate in governance, develop and maintain the website, provide user experience and plain language expertise, and even provide legal support. Please visit our [How You Can Help](https://section508coordinators.github.io/BaselineTestPages/contributing.html#helping) and [How We Work](https://section508coordinators.github.io/BaselineTestPages/contributing.html#how-we-work) sections or contact us at <[email protected]> for more information about getting involved.
Contributors do not need to be highly technical nor make a long-term commitment, although both skills and time can certainly be helpful. The ICT Baseline Alignment Working Group needs help developing and evaluating test cases. Accessibility advocates are also needed to spread the word about the Framework, develop a governance structure, participate in governance, develop and maintain the website, provide user experience and plain language expertise, and even provide legal support. Please visit our [How You Can Help](https://section508coordinators.github.io/BaselineTestPages/contributing.html#helping) and [How We Work](https://section508coordinators.github.io/BaselineTestPages/contributing.html#how-we-work) sections or contact us at <[email protected]> for more information about getting involved..
4 changes: 2 additions & 2 deletions Templates/_testcase-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tcid:
descr:

# Reference and link to the applicable ICT Baseline test
app-basline:
app-baseline:

# Expected result that the ICT Baseline would predict
# [Pass | Fail | DNA]
Expand All @@ -40,4 +40,4 @@ sample:
---
| Test Instruction | Instruction Detail | Expected Test Case Result |
|------------------|--------------------|---------------------------|
| # | Detail | Step Result |
| # | Detail | Step Result |
13 changes: 12 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@ description: >-
should produce the same replicable and reliable test results.

theme: minima
baseurl: /baselinealignment
baseurl: /baselinealignment

primary_navigation:
- name: Baseline Alignment Home
url: /
- name: Contributing
url: /contributing.html
- name: Test Cases
url: /testcases.html
- name: ICT Baseline (external)
url: https://ictbaseline.access-board.gov/
ext: true
4 changes: 1 addition & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<!-- Footer content -->
<footer class="mt-auto py-2 bg-light">
<div class="footer-content offset-md-2 offset-xl-2 px-3 col-md-9 col-xl-8">
<span>copyright notice and link to license page</span>
</div>
<div id="footer-508"></div>
</footer>
27 changes: 19 additions & 8 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,22 @@
GitHub repository.
{% endcomment %}

<!-- Header with skip links and GitHub repository link-->
<header class="navbar navbar-dark bg-dark flex">
<a href="#main-content" id="skipNavLink" class="visually-hidden visible-when-focused bypass-block-link" tabindex="1">Skip to Content</a>
<a href="#secnav" id="skipNavLink" class="visually-hidden visible-when-focused bypass-block-link" tabindex="1">Skip to Page Table of Contents</a>
<a class="navbar-brand d-md-none btn btn-dark mr-1" href="javascript:void(0)" onclick="sidebarOpenClose()" aria-label="Open/Close Nav Menu" id="openCloseMenu" aria-expanded="false" aria-haspopup="true" aria-controls="site-nav"><i class="fa fa-bars"></i></a>
<a href="https://github.com/Section508Coordinators/baselinealignment" class="navbar-brand ml-auto order-1 order-md-2 btn btn-dark m-0"><i class="fa fa-github" aria-label="Open Repository in GitHub"></i></a>
<span class="navbar-link text-white" id="nav-title"><span class="d-none d-md-inline">ICT Accessibility Testing </span>Baseline Alignment Framework</span>
</header>
<div id="header-508"></div>
<section aria-label="Page Banner" class="usa-graphic-list usa-section sml-margin bg-gradient landing-page-banner">
<div class="grid-container">
<div class="grid-row grid-gap">
<div class="tablet: grid-col">

<span class="banner-title-color font-sans-lg margin-bottom-0">
ICT Baseline Alignment Framework
</span>
<br>

<h1 class="text-white font-sans-xl margin-top-0 margin-bottom-0">
{{ page.title | xml_escape }}
</h1>

</div>
</div>
</div>
</section>
41 changes: 21 additions & 20 deletions _includes/menu.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@

<!-- Primary site nav manu -->
<nav class="col d-none d-md-block bg-light col-md-3 col-xl-2 base-nav order-0 px-0 shadow fixed-sidebar" id="site-nav" aria-label="primary navigation">
<div class="px-2 row">
<h4 class="text-dark bg-light d-inline-block ml-2 my-auto p-2">Menu</h4>
<a href="javascript:void(0)" onclick="sidebarOpenClose()" class="d-none btn btn-light my-1 mr-2 ml-auto text-danger" aria-label="Close Nave Menu" id="closeSidebar"><i class="fa fa-remove"></i></a>
</div>
<ul class="list-group-flush bg-light px-0">
<li><a href="/baselinealignment/index.html" id="home" class="list-group-item list-group-item-action bg-light">Home</a></li>
<li><a href="/baselinealignment/contributing.html" id="contributing" class="list-group-item list-group-item-action bg-light">Contributing</a></li>
<!-- <li><a href="#" class="list-group-item list-group-item-action bg-light">Validating Alignment</a></li> -->
<li><a href="/baselinealignment/testcases.html" id="testcases" class="list-group-item list-group-item-action bg-light">Test Cases</a></li>
<!-- <li><a href="#" class="list-group-item list-group-item-action bg-light">Glossary</a></li> -->
</ul>
<ul class="list-group-flush bg-light px-0 border-top mt-5">
<li><a href="https://ictbaseline.access-board.gov" class="list-group-item list-group-item-action bg-light" target="_blank" rel="noopener noreferrer">ICT Baseline (external)</a></li>
</ul>
<header class="usa-header usa-header--extended baseline-menu">
<nav aria-label="Primary site navigation" class="usa-nav site-nav sticky" id="site-nav">
<div class="usa-nav__inner site-nav__inner">
<button class="usa-nav__close"><img alt="close" src="https://www.section508.gov/assets/img/close.svg"></button>
<!-- Desktop nav -->
<ul class="usa-nav__primary usa-nav__primary--desktop usa-accordion">
{% for nav_item in site.primary_navigation %}
<li class="usa-nav__primary-item"><a
href="{% if nav_item.ext == true %}{{ nav_item.url }}{% else %}{{ nav_item.url | prepend: site.baseurl }}{% endif %}"
data-page-url="{{ page.url }}"
data-nav-item-url="{{ nav_item.url }}"
class="usa-nav__link{% if page.url == nav_item.url %} usa-current{% endif %}"
aria-label="{{ nav_item.name }} menu link"
{% if nav_item.ext== true %}target="_blank" {% endif %}>{{
nav_item.name }}</a></li>

</nav>
{% endfor %}

<!-- Overlay effect when opening sidebar on small screens -->
<div onclick="sidebarOpenClose()" style="cursor:pointer" class="d-none overlay" title="Close Nav Menu" id="myOverlay"></div>
</ul>
<!-- /Desktop nav -->
</div>
</nav>
</header>
11 changes: 8 additions & 3 deletions _includes/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
<title>{{page.title}}</title>

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="/baselinealignment/assets/css/bootstrap.css">
<!-- <link rel="stylesheet" href="/baselinealignment/assets/css/bootstrap.css">-->
<!-- FontAwesome CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/baselinealignment/assets/css/baseline-align.css">

<!-- Section 508 external block and styles -->
<script src="https://www.section508.gov/assets/js/external-508-blocks.js"></script>
<link rel="stylesheet" type="text/css" href="https://www.section508.gov/assets/css/external-blocks.css">
<link rel="stylesheet" type="text/css" href="https://www.section508.gov/assets/css/index.css">

<!-- Custom CSS -->
<link rel="stylesheet" href="/assets/css/baseline.css">
</head>
3 changes: 2 additions & 1 deletion _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
<script src="/baselinealignment/assets/js/bootstrap.bundle.min.js"></script>

<!-- custom JS for sidbar flyover, TOC generation etc. -->
<script src="/baselinealignment/assets/js/baseline-align.js"></script>
<script src="/baselinealignment/assets/js/baseline-align.js"></script>
<script src="https://www.section508.gov/assets/js/uswds.min.js" defer="defer"></script>
2 changes: 1 addition & 1 deletion _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{% include menu.html %}

{{ content }}
{{ content }}

{% include footer.html %}

Expand Down
21 changes: 14 additions & 7 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@
This template is for a basic single page with bootstrap 'card' holders for content
{% endcomment %}

{% include toc.html %}

<main class="container-fluid mb-auto flex-shrink-0" id="main-content">
<div class="row" id="card-holder">
<div class="col-md-9 col-xl-8 py-1 px-1 py-md-2 pl-md-3 offset-md-3 offset-xl-2 order-1">
{{ content }}
<div id="main-content" class="usa-layout-docs usa-section layout-{{ page.layout }}">
<div class="grid-container active">
<div class="usa-in-page-nav-container">
<aside class="usa-in-page-nav"
data-title-text="Table of Contents"
data-title-heading-level="h2"
data-scroll-offset="0"
data-root-margin="0px 0px 0px 0px"
data-threshold="1">
</aside>
<main class="main-content usa-graphic-list">
{{ content }}
</main>
</div>
</div>
</main>
</div>
29 changes: 14 additions & 15 deletions _layouts/testcase.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
---
layout: base
layout: page
---

{% comment %}
This template is for test case content, which relies on specific fields
provided in the document front matter; see the admin/config > collections
provided in the document front matter; see the admin/config > collections
> Test Cases for field details
{% endcomment %}

{% include toc.html %}

<main class="container-fluid mb-auto flex-shrink-0" id="main-content">
<div class="row" id="card-holder">
<div class="col-md-9 col-xl-8 py-1 px-1 py-md-2 pl-md-3 offset-md-3 offset-xl-2 order-1">

<h1 class="card-title" id="TCtitle">{{page.title | markdownify}}</h1>
<h2 class="border-bottom" id="TCsum">Test Case Summary</h2>
<h3 id="TCid">Test Case ID</h3>
<p>{{page.tcid}}</p>
<h3 id="TCdesc">Test Case Description</h3>
<p>{{page.descr | markdownify}}</p>
<h3 id="TCbase">Applicable ICT Baseline Test</h3>
<p>{{page.app-baseline | markdownify}}</p>

<h2 class="border-bottom" id="TCdet">Test Case Detail</h2>
<h3 id="TCresult">Expected Baseline Result</h3>
<p><strong>
Expand All @@ -36,21 +33,23 @@ <h4 id="TCurl">Single-Page URL</h4>
<div id="codelink">
<p><a id="samplecodelink" href="{{page.sample | absolute_url}}">{{page.sample | absolute_url}}</a></p>
</div>

<h4 id="TCframe">Embedded Code</h4>
<div id="codeframe"></div>
<div id="codeframe"></div>
<iframe id="codeframe" src="{{page.sample | absolute_url}}" title="embedded code">
</iframe>

<h4 id="if_code">Code</h4>
<div id="div_code">
<pre class="bg-light callout"><code id="ta_code"></code></pre>
</div>

<div class="usa-accordion usa-accordion--bordered site-accordion-code margin-top-4">
<button class="usa-accordion__button" aria-controls="code-sticky" aria-expanded="true">Code</button>
<div id="code-sticky" class="usa-accordion__content">
<pre><code id="ta_code" class="language-html" data-lang="html"></code></pre>
</div>
</div>


<h3 id="TCsteps">Test Case Instruction</h3>
<div id="TCsteps_table">{{content}}</div>
</div>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
<script src="/baselinealignment/assets/js/testcases.js"></script>
<script src="/assets/js/testcases.js"></script>
72 changes: 72 additions & 0 deletions assets/css/baseline.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
@media (min-width: 64em) {
.usa-banner__inner, .usa-navbar, .usa-nav__inner, .usa-footer__primary-section .grid-container,
.usa-header--extended .usa-navbar {
padding-left: 2rem !important;
}
}
.baseline-menu .usa-nav__primary > .usa-nav__primary-item > a {
font-weight: normal;
}

.baseline-menu .usa-nav__primary > .usa-nav__primary-item > a:hover {
color: #005ea2;
}

.baseline-menu.usa-header--extended .usa-nav__primary-item > .usa-current::after,
.baseline-menu.usa-header--extended .usa-nav__primary-item > .usa-nav__link:hover::after {
background-color: #005ea2;
}

.layout-testcase .usa-in-page-nav-container main {
max-width: 43rem;
}

@media (max-width: 820px) {
.layout-testcase .usa-in-page-nav-container main {
max-width: 31rem;
}
}

@media (max-width: 768px) {
.layout-testcase .usa-in-page-nav-container main {
max-width: 28rem;
}
}

code {
color: #d83933 !important;
}

#ta_code {
white-space: pre;
display: inline-block;
margin: 0;
font: 14px / 1.625em Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
padding: 0 .5em;
}

iframe#codeframe {
width: 100%;
}

.usa-table thead th {
background-color: #f0f0f0;
}

.usa-table tbody th {
font-weight: bold;
}

.usa-table tbody th,
.usa-table tbody td {
vertical-align: top;
}

#codelink {
overflow: hidden;
}

#TCsteps_table table caption {
visibility: hidden;
height: 0;
}
Loading
Loading