Skip to content

AccessLint/accesslint.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Looking for Accessibility CI?

Use the AccessLint App for GitHub.

accesslint.js

Accessibility warnings for dynamic web content.

Usage

Include the javascript in your page before </body>.

<script defer src="https://cdn.accesslint.com/a11y-logger-0.1.0.js"></script>

Then, run your acceptance tests to get accessibility warning logs, or open your browser and get automatic warnings in the JavaScript console.

Browser Console

Firefox JavaScript console with accessibility warnings

How it works

accesslint.js runs assertions from the aXe-core accessibility library.

Development

Setup

$ bin/setup

Building

$ yarn build