Skip to content
This repository
Browse code

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
Luke Wright lwright-sq authored
2  Standards/Section508/Sniffs/A.js
@@ -120,7 +120,7 @@ var HTMLCS_Section508_Sniffs_A = {
120 120 {
121 121 var errors = HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_1_1_1_1.testMediaTextAlternatives(top);
122 122
123   - for (var i = 0; i < errors.object.missingBody.length; i++) {A
  123 + for (var i = 0; i < errors.object.missingBody.length; i++) {
124 124 HTMLCS.addMessage(HTMLCS.ERROR, errors.object.missingBody[i], 'Object elements must contain a text alternative after all other alternatives are exhausted.', 'Object.MissingBody');
125 125 }
126 126
2  Standards/Section508/Sniffs/L.js
@@ -48,7 +48,7 @@ var HTMLCS_Section508_Sniffs_L = {
48 48 }
49 49
50 50 for (var i = 0; i < errors.placeholder.length; i++) {
51   - HTMLCS.addMessage(HTMLCS.WARNING, errors.placeholder[i], 'Anchor element found with link content, but no href and/or ID attribute has been supplied.', 'PlaceholderAnchor');
  51 + HTMLCS.addMessage(HTMLCS.WARNING, errors.placeholder[i], 'Anchor element found with link content, but no href, ID, or name attribute has been supplied.', 'PlaceholderAnchor');
52 52 }
53 53
54 54 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.