Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
arialinter
Advanced tools
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
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 |
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:
##License
Copyright (c) 2013 Globant UI Developers
Licensed under the MIT license.
FAQs
AriaLinter provides a simple accesibility linter for HTML documents.
The npm package arialinter receives a total of 1 weekly downloads. As such, arialinter popularity was classified as not popular.
We found that arialinter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.