Skip to content

Commit 61ad273

Browse files
Update README, comments
1 parent 383e617 commit 61ad273

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
HTML_CodeSniffer is a JavaScript application that checks a HTML document
66
or source code, and detects violations of a defined presentation or accessibility
7-
standard, such as Section508 or WCAG2.0.
7+
standard, such as Section508 or WCAG2.1.
88

99
## Standards included
1010

1111
By default, HTML_CodeSniffer comes with standards that cover the three conformance
12-
levels of the <abbr title="World Wide Web Consortium">W3C</abbr> [Web Content Accessibility Guidelines (WCAG) 2.0](http://www.w3.org/TR/WCAG20),
12+
levels of the <abbr title="World Wide Web Consortium">W3C</abbr> [Web Content Accessibility Guidelines (WCAG) 2.1](https://www.w3.org/TR/WCAG21/),
1313
and the <abbr title="United States of America">U.S.</abbr> [Section 508](http://section508.gov/index.cfm?fuseAction=stdsdoc) legislation.
1414
It also provides tools to write your own standards, which can be useful in situations
1515
where you wish to enforce consistency across a web site.

Standards/Section508/Sniffs/A.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ _global.HTMLCS_Section508_Sniffs_A = {
4848
if ((nodeName === 'object') || (nodeName === 'bgsound') || (nodeName === 'audio')) {
4949
// Audio transcript notice. Yes, this is in A rather than B, since
5050
// audio is not considered "multimedia" (roughly equivalent to a
51-
// "synchronised media" presentation in WCAG 2.0). It is non-text,
51+
// "synchronised media" presentation in WCAG 2.1). It is non-text,
5252
// though, so a transcript is required.
5353
HTMLCS.addMessage(HTMLCS.NOTICE, element, 'For multimedia containing audio only, ensure an alternative is available, such as a full text transcript.', 'Audio');
5454
}
@@ -177,7 +177,7 @@ _global.HTMLCS_Section508_Sniffs_A = {
177177
* Driver function for the null alt text tests.
178178
*
179179
* This takes the generic result given by the alt text testing functions
180-
* (located in WCAG 2.0 SC 1.1.1), and converts them into Section 508-specific
180+
* (located in WCAG 2.1 SC 1.1.1), and converts them into Section 508-specific
181181
* messages.
182182
*
183183
* @param {DOMNode} element The element to test.
@@ -293,7 +293,7 @@ _global.HTMLCS_Section508_Sniffs_A = {
293293
* Driver function for the media alternative (object/applet) tests.
294294
*
295295
* This takes the generic result given by the media alternative testing function
296-
* (located in WCAG 2.0 SC 1.1.1), and converts them into Section
296+
* (located in WCAG 2.1 SC 1.1.1), and converts them into Section
297297
* 508-specific messages.
298298
*
299299
* @param {DOMNode} element The element to test.

Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_1/1_1_1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1 = {
5656
* Driver function for the null alt text tests.
5757
*
5858
* This takes the generic result given by the alt text testing functions,
59-
* and converts them into WCAG 2.0-specific messages.
59+
* and converts them into WCAG 2.1-specific messages.
6060
*
6161
* @param {DOMNode} element The element to test.
6262
*/
@@ -337,7 +337,7 @@ _global.HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1 = {
337337
* Driver function for the media alternative (object/applet) tests.
338338
*
339339
* This takes the generic result given by the media alternative testing function,
340-
* and converts them into WCAG 2.0-specific messages.
340+
* and converts them into WCAG 2.1-specific messages.
341341
*
342342
* @param {DOMNode} element The element to test.
343343
*/

0 commit comments

Comments
 (0)