diff options
author | Jesse Hallett <jesse@galois.com> | 2014-01-06 10:50:22 -0800 |
---|---|---|
committer | Jesse Hallett <jesse@galois.com> | 2014-01-06 11:15:49 -0800 |
commit | 55cd32bfaf9ed5bc5418751369e46fa1d7f098e8 (patch) | |
tree | c5759cf75241a4e6bc0fb31596b69c59a9bdc6b5 /guidelines/wikipedia/imageAlt.js | |
parent | 0a47eab285bf1c04f48a2d6d84838a98807c8c69 (diff) |
Moves rule files to src/
Diffstat (limited to 'guidelines/wikipedia/imageAlt.js')
-rw-r--r-- | guidelines/wikipedia/imageAlt.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/guidelines/wikipedia/imageAlt.js b/guidelines/wikipedia/imageAlt.js deleted file mode 100644 index c54244d..0000000 --- a/guidelines/wikipedia/imageAlt.js +++ /dev/null @@ -1,8 +0,0 @@ -exports.name = "Images should include an alt attribute"; -exports.description = "Images should include an alt attribute, even an empty one, that acts as a substitute for the image (for non-visual users)."; - -exports.rule = function(report) { - $5('#mw-content-text img:not([alt])').each(function(i, img) { - report.warning("Image has no alt attribute.", img); - }); -}; |