Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #61 from lwright-sq/master

Fix to sniffs A and L in 508 standard
  • Loading branch information...
commit 98bda264ea8fd03a3226190dc1b4bfe46a7f7e63 2 parents 7a2678c + d910887
@lwright-sq lwright-sq authored
View
2  Standards/Section508/Sniffs/A.js
@@ -120,7 +120,7 @@ var HTMLCS_Section508_Sniffs_A = {
{
var errors = HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1.testMediaTextAlternatives(top);
- for (var i = 0; i < errors.object.missingBody.length; i++) {A
+ for (var i = 0; i < errors.object.missingBody.length; i++) {
HTMLCS.addMessage(HTMLCS.ERROR, errors.object.missingBody[i], 'Object elements must contain a text alternative after all other alternatives are exhausted.', 'Object.MissingBody');
}
View
2  Standards/Section508/Sniffs/L.js
@@ -48,7 +48,7 @@ var HTMLCS_Section508_Sniffs_L = {
}
for (var i = 0; i < errors.placeholder.length; i++) {
- HTMLCS.addMessage(HTMLCS.WARNING, errors.placeholder[i], 'Anchor element found with link content, but no href and/or ID attribute has been supplied.', 'PlaceholderAnchor');
+ HTMLCS.addMessage(HTMLCS.WARNING, errors.placeholder[i], 'Anchor element found with link content, but no href, ID, or name attribute has been supplied.', 'PlaceholderAnchor');
}
for (var i = 0; i < errors.noContent.length; i++) {

0 comments on commit 98bda26

Please sign in to comment.
Something went wrong with that request. Please try again.