• Stars
    star
    505
  • Rank 87,373 (Top 2 %)
  • Language
    TypeScript
  • Created over 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Keep accessibility errors in check.

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