arialinter
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "arialinter", | ||
"description": "AriaLinter provides a simple accesibility linter for HTML documents.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/globant-ui/arialinter", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"dependencies": { | ||
"jsdom": "*", | ||
"jsdom": "0.2.1", | ||
"async": "*", | ||
@@ -27,0 +27,0 @@ "colors": "*", |
@@ -1,68 +0,1 @@ | ||
ArialLinter [![Build Status](https://api.travis-ci.org/globant-ui/arialinter.png?branch=master)](http://travis-ci.org/globant-ui/arialinter) | ||
============ | ||
ArialLinter main goal is to provide a simple accesibility linter for HTML documents. Our long-term vision is to enforce accesibility best practices directly into the developer workflow. | ||
##Usage | ||
```javascript | ||
linter.initialize(fileOrUrl, function() { | ||
if (linter.evaluate()){ | ||
console.log('success'); | ||
} else { | ||
console.log('failed'); | ||
} | ||
}); | ||
``` | ||
##Rules Missing | ||
Guideline | Rule N | Description | ||
----------|--------|----------------------------------------- | ||
1.3 | 10 | Complex data tables must have ids on th elements. Last updated: 2011-03-31 | ||
1.3 | 11 | For complex data tables table ids must be unique. Last updated: 2011-03-31 | ||
1.3 | 12 | Complex data table td elements must have header attributes. Last updated: 2011-03-31 | ||
1.4 | 16 | Color contrast ratio should be > 4.5 Last updated: 2011-03-31 | ||
2.4 | 42 | Heading elements should be properly nested. Last updated: 2011-03-31 | ||
2.4 | 43 | The content of the headings of the same level within the same section should be unique. Last updated: 2011-03-31 | ||
2.4 | 40 | Text content for a headings must not come just from image alt text. Last updated: 2011-03-31 | ||
2.4 | 41 | Heading content should be concise. Last updated: 2011-03-31 | ||
2.4 | 44 | Heading elements (h1..h6) should be used for structuring information on the page. Last updated: 2011-03-31 | ||
3.3 | 49 | Each input element with type=text | password | checkbox | radio | file and each select and textarea element should either be referenced by the for attribute of a label element via its id attribute, or have a title attribute. Last updated: 2011-03-31 | ||
3.3 | 53 | Effective labels should be unique. Last updated: 2011-03-31 | ||
3.3 | 56 | Title attributes used for labeling form controls must have content. Last updated: 2011-03-31 | ||
2.4 | 35 | Links with the same HREF should have the same link text. Last updated: 2011-03-31 | ||
2.4 | 36 | Links that point to different HREFs should have different link text. Last updated: 2011-03-31 | ||
2.4 | 37 | Images should be at least 16 pixels by 16 pixels when used as links. Last updated: 2011-03-31 | ||
2.4 | 38 | Links with images and text content, the alt attribute should be unique to the text content or empty | ||
2.4 | 61 | Title content should be concise. Last updated: 2011-03-31 | ||
2.4 | 32 | H1 should match a subset of the words in the title element. Last updated: 2011-03-31 | ||
2.4 | 31 | H1 element content should not come only from the alt text of an image. Last updated: 2011-03-31 | ||
4.1 | 64 | ARIA attributes have valid values Last updated: 2011-03-31 | ||
4.1 | 65 | ARIA ID references must be valid IDRefs Last updated: 2011-03-31 | ||
4.1 | 66 | ARIA attributes can only be used with certain roles Last updated: 2011-03-31 | ||
4.1 | 63 | Check aria properties and states for valid roles and properties Last updated: 2011-03-31 | ||
4.1 | 67 | Roles must contain their required child roles Last updated: 2011-03-31 | ||
4.1 | 68 | Child roles must be contained by the proper parent role Last updated: 2011-03-31 | ||
4.1 | 69 | Required properties and states should be defined Last updated: 2011-03-31 | ||
4.1 | 70 | Required properties and states must not be empty Last updated: 2011-03-31 | ||
4.1 | 71 | Role value must be valid Last updated: 2011-03-31 | ||
4.1 | 72 | Check that 'ARIA-' attributes are valid properties and states Last updated: 2011-03-31 | ||
##Resources: | ||
* Accessibility | ||
* WAI-ARIA Authoring Practices: http://www.w3.org/TR/wai-aria-practices/ | ||
* http://www.w3.org/TR/WCAG20-TECHS/html.html | ||
* http://dev.w3.org/html5/alt-techniques/ | ||
* https://dvcs.w3.org/hg/aria-unofficial/raw-file/tip/index.html | ||
* http://www.openajax.org/member/wiki/Accessibility_-_WCAG20_Validation_Rules | ||
* NodeJS HTML Parser | ||
* [jsdom](https://github.com/tmpvar/jsdom) | ||
##License | ||
Copyright (c) 2013 Globant UI Developers | ||
Licensed under the MIT license. | ||
This is the node package that gets deployed to npm. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
5
33961
2
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addedcssom@0.5.0(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhtmlparser@1.7.7(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjsdom@0.2.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.13.0(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
- Removedagent-base@7.1.1(transitive)
- Removedcssstyle@4.1.0(transitive)
- Removeddata-urls@5.0.0(transitive)
- Removeddebug@4.3.7(transitive)
- Removeddecimal.js@10.4.3(transitive)
- Removedentities@4.5.0(transitive)
- Removedform-data@4.0.1(transitive)
- Removedhtml-encoding-sniffer@4.0.0(transitive)
- Removedhttp-proxy-agent@7.0.2(transitive)
- Removedhttps-proxy-agent@7.0.5(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-potential-custom-element-name@1.0.1(transitive)
- Removedjsdom@25.0.1(transitive)
- Removedms@2.1.3(transitive)
- Removednwsapi@2.2.13(transitive)
- Removedparse5@7.2.1(transitive)
- Removedrrweb-cssom@0.7.1(transitive)
- Removedsaxes@6.0.0(transitive)
- Removedsymbol-tree@3.2.4(transitive)
- Removedtldts@6.1.64(transitive)
- Removedtldts-core@6.1.64(transitive)
- Removedtough-cookie@5.0.0(transitive)
- Removedtr46@5.0.0(transitive)
- Removedw3c-xmlserializer@5.0.0(transitive)
- Removedwebidl-conversions@7.0.0(transitive)
- Removedwhatwg-encoding@3.1.1(transitive)
- Removedwhatwg-mimetype@4.0.0(transitive)
- Removedwhatwg-url@14.0.0(transitive)
- Removedws@8.18.0(transitive)
- Removedxml-name-validator@5.0.0(transitive)
- Removedxmlchars@2.2.0(transitive)
Updatedjsdom@0.2.1