forked from w3c/wcag-act
-
Notifications
You must be signed in to change notification settings - Fork 0
/
understanding-act-rules.html
99 lines (94 loc) · 9.22 KB
/
understanding-act-rules.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="UTF-8" />
<title>Understanding ACT Rules for WCAG Success Criteria</title>
<link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/2016/base" />
<link rel="stylesheet" type="text/css" href="https://www.w3.org/WAI/WCAG21/Understanding/understanding.css" />
<link rel="stylesheet" type="text/css" href="https://www.w3.org/WAI/WCAG21/Understanding/slicenav.css" />
</head>
<body>
<nav>
<ul id="navigation">
<li><a href="https://www.w3.org/WAI/WCAG21/Understanding/" title="Table of Contents">Contents</a></li>
<li><a href="https://www.w3.org/WAI/WCAG21/Understanding/intro">Previous: Introduction to Understanding WCAG 2.1</a></li>
<li><a href="https://www.w3.org/WAI/WCAG21/Understanding/text-alternatives">First <abbr title="Guideline">GL</abbr>: Text Alternatives</a></li>
<li><a href="https://www.w3.org/WAI/WCAG21/Understanding/non-text-content">First <abbr title="Success Criterion">SC</abbr>: Non-text Content</a></li>
</ul>
</nav>
<nav class="navtoc">
<p>On this page:</p>
<ul id="navbar">
<li><a href="#act-rules-are-informative">ACT Rules are Informative</a></li>
<li><a href="#act-rules-are-partial-checks">ACT Rules are Partial Checks</a></li>
<li><a href="#act-rules-check-for-failrues">ACT Rules Check for Failures</a></li>
<li><a href="#act-rule-implementations">ACT Rule Implementations</a></li>
<li><a href="#structure-of-act-rules">Structure of ACT Rules</a></li>
</ul>
</nav>
<h1>Understanding <abbr title="Accessibility Conformance Testing">ACT</abbr> Rules for WCAG Success Criteria</h1>
<main>
<p>Accessibility Conformance Testing (ACT) Rules provide guidance for developers of automated testing tools and manual testing methodologies, to help ensure consistent interpretation of WCAG Success Criteria.</p>
<p>W3C's <a href="https://www.w3.org/WAI/standards-guidelines/act/">List of ACT Rules for WCAG 2</a> is updated periodically. They are developed according to the <a href="https://www.w3.org/TR/act-rules-format/">Accessibility Conformance Testing (ACT) Rules Format 1.0</a> standard.</p>
<p><a href="conformance">Understanding Conformance</a> provides related information, including on <a href="conformance#accessibility-support">understanding accessibility support</a>.</p>
<section id="act-rules-are-informative">
<h2>ACT Rules are Informative</h2>
<p><em>ACT Rules are informative — that means they are not required for determining conformance. The basis for determining conformance to WCAG is the success criteria from the WCAG standard — not the ACT Rules.</em></p>
<p>While W3C's <a href="https://www.w3.org/WAI/standards-guidelines/act/">List of ACT Rules for WCAG 2</a> are reviewed by the W3C Accessibility Guidelines Working Group (AGWG), they are not vetted to the same degree as the W3C Web Content Accessibility Guidelines (WCAG) standard (called <em>W3C Recommendation</em>). The WCAG standard is the normative reference on determining conformance.</p>
</section>
<section id="act-rules-are-partial-checks">
<h2>ACT Rules are Partial Checks</h2>
<p>ACT Rules typically check specific aspects of WCAG success criteria. For example, that a table cell has a header rather than the entire WCAG 2.1 success criterion 1.3.1 "Info and Relationships", which applies to many more information structures on a web page. In fact, this example rule would not even check the validity of the table header, only if the header exists for a given table cell.</p>
<p>ACT Rules are also technology-specific. For example, the aforementioned table header example would be specific to HTML, possibly enriched with WAI-ARIA roles and properties, but not to other formats with tables. WCAG 2.1 success criteria are designed to be technology-agnostic and applicable to all web technologies.</p>
</section>
<section id="act-rules-check-for-failrues">
<h2>ACT Rules Check for Failures</h2>
<p>ACT Rules are designed to check failures in satisfying WCAG success criteria. That is, when content fails ACT Rules, it means that the content does not satisfy the corresponding success criteria. However, when content passes ACT Rules, it means that no corresponding failures were detected — it does not necessarily mean that the content satisfies all aspects of the corresponding success criteria.</p>
<p>The reason for this is because WCAG success criteria typically cover several aspects and technologies, while ACT Rules only check specific aspects. Checking that content satisfies all aspects of WCAG success criteria typically requires further verification by human testers.</p>
<p><strong>Note:</strong> <a href="https://www.w3.org/TR/WCAG21/#cc1">WCAG 2 Conformance Requirement 1</a> allows for "conforming alternate versions". That means that content may still conform to WCAG 2, even when content fails ACT Rules, thus does not satisfy the corresponding success criteria.</p>
</section>
<!-- //
<section id="act-rule-implementations">
<h2>ACT Rule Implementations</h2>
<p>Implementation of an ACT Rule can be any automated testing tool, manual testing methodology, or other procedure that provides the same expected results for the test cases defined by the ACT Rule. Specifically, when the expected result for a test case is:</p>
<ul>
<li><strong>Passed</strong>, the test result generated from the implementation is <strong>passed</strong>, <strong>cantTell</strong>, or <strong>inapplicable</strong></li>
<li><strong>Failed</strong>, the test result generated from the implementation is <strong>failed</strong> or <strong>cantTell</strong></li>
<li><strong>Inapplicable</strong>, the test result generated from the implementation is <strong>inapplicable</strong>, <strong>cantTell</strong>, or <strong>passed</strong></li>
</ul>
</section>
//-->
<section id="structure-of-act-rules">
<h2>Structure of ACT Rules</h2>
<p>ACT Rules conform to the <a href="https://www.w3.org/TR/act-rules-format/">Accessibility Conformance Testing (ACT) Rules Format 1.0</a> standard. They include the following parts:</p>
<ul>
<li><strong>Descriptive Title</strong> – title for the ACT Rule, which should describe the rule</li>
<li><strong>Rule Identifier</strong> – identifier for the ACT Rule; the W3C rules use alphanumeric strings</li>
<li><strong>Rule Type</strong> – there are two basic types of ACT Rules, depending on what is being tested:
<ul>
<li><strong>Atomic Rule</strong> – test one specific situation, which may be part of a composite rule</li>
<li><strong>Composite Rule</strong> – combine outcome from multiple atomic rules to one outcome</li>
</ul>
</li>
<li><strong>Accessibility Requirements Mapping</strong> – maps the ACT Rule to particular accessibility requirements; in this suite of rules we use Web Content Accessibility Guidelines (WCAG) 2 Success Criteria</li>
<li><strong>Rule Input</strong> – describes the scope of input into ACT Rules, which is one of the following:
<ul>
<li><strong>Input Aspects</strong> – input into atomic rules, such as DOM Tree and CSS Styling etc.</li>
<li><strong>Input Rules</strong> – input into the composite rules, which are the atomic rules in scope</li>
</ul>
</li>
<li><strong>Applicability</strong> – description of the specific parts of the content, for which the rule applies</li>
<li><strong>Expectations</strong> – description of the expected characteristics of the applicable rule content</li>
<li><strong>Assumptions</strong> – assumptions made, such as specific interpretations of the requirements</li>
<li><strong>Accessibility Support</strong> – known limitations regarding browsers and assistive technology</li>
<li><strong>Test Cases</strong> – sample code demonstrating passed, failed, and inapplicable rule conditions</li>
<li><strong>Change Log</strong> – history of changes for the ACT Rules, to support backward compatibility</li>
<li><strong>Glossary</strong> – list of key terms defined by the ACT Rule or used by the specific ACT Rule</li>
<li><strong>Issues List (Optional)</strong> – list of known issues or bugs for the particular ACT Rule, if any</li>
<li><strong>Background (Optional)</strong> – relevant background, such as additional documentation, if any</li>
<li><strong>Acknowledgements (Optional)</strong> – such as rule writers, reviewers, and other contributors</li>
</ul>
</section>
</main>
</body>
</html>