Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arialinter

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arialinter

AriaLinter provides a simple accesibility linter for HTML documents.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

ArialLinter Build Status

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

GuidelineRule NDescription
1.310Complex data tables must have ids on th elements. Last updated: 2011-03-31
1.311For complex data tables table ids must be unique. Last updated: 2011-03-31
1.312Complex data table td elements must have header attributes. Last updated: 2011-03-31
1.416Color contrast ratio should be > 4.5 Last updated: 2011-03-31
2.442Heading elements should be properly nested. Last updated: 2011-03-31
2.443The content of the headings of the same level within the same section should be unique. Last updated: 2011-03-31
2.440Text content for a headings must not come just from image alt text. Last updated: 2011-03-31
2.441Heading content should be concise. Last updated: 2011-03-31
2.444Heading elements (h1..h6) should be used for structuring information on the page. Last updated: 2011-03-31
3.349Each input element with type=text
3.353Effective labels should be unique. Last updated: 2011-03-31
3.356Title attributes used for labeling form controls must have content. Last updated: 2011-03-31
2.435Links with the same HREF should have the same link text. Last updated: 2011-03-31
2.436Links that point to different HREFs should have different link text. Last updated: 2011-03-31
2.437Images should be at least 16 pixels by 16 pixels when used as links. Last updated: 2011-03-31
2.438Links with images and text content, the alt attribute should be unique to the text content or empty
2.461Title content should be concise. Last updated: 2011-03-31
2.432H1 should match a subset of the words in the title element. Last updated: 2011-03-31
2.431H1 element content should not come only from the alt text of an image. Last updated: 2011-03-31
4.164ARIA attributes have valid values Last updated: 2011-03-31
4.165ARIA ID references must be valid IDRefs Last updated: 2011-03-31
4.166ARIA attributes can only be used with certain roles Last updated: 2011-03-31
4.163Check aria properties and states for valid roles and properties Last updated: 2011-03-31
4.167Roles must contain their required child roles Last updated: 2011-03-31
4.168Child roles must be contained by the proper parent role Last updated: 2011-03-31
4.169Required properties and states should be defined Last updated: 2011-03-31
4.170Required properties and states must not be empty Last updated: 2011-03-31
4.171Role value must be valid Last updated: 2011-03-31
4.172Check 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

Package last updated on 27 Mar 2013

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc