0.03
Repository is archived
No commit activity in last 3 years
No release in over 3 years
accesslint-ci runs accessibility tests in CI and comments on corresponding GitHub pull requests
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 2.2.0
~> 3.4.2
~> 12.0.0
~> 3.5.0

Runtime

~> 2.0.1
~> 0.19.4
 Project Readme

Deprecated

Use the AccessLint GitHub integration or check out axe-cli for development testing.

Accesslint::Ci

https://robots.thoughtbot.com/introducing-accesslint-web-accessibility-testing-in-ci

Runs accesslint-cli in CircleCI and comments on GitHub pull requests with new accessibility issues.

accesslint-ci will crawl a host site and run accessibility assertions on the pages. If there are any new accessibility issues, accesslint-ci will comment on the pull request that initiated the build in CircleCI.

View an example

Installation

  1. Authenticate with GitHub at https://accesslint.com to get an API token.

Circle CI

  1. Set up your CircleCI environment (API tokens for CircleCI and GitHub, artifacts)
  2. Install dependencies (nodejs, accesslint-cli, accesslint-ci)
  3. Start a development server
  4. Run accesslint-ci scan <development server e.g. http://localhost:3000>

In your circle.yml file:

general:
  artifacts:
    - "tmp/accesslint.log"

machine:
  environment:
    ACCESSLINT_API_TOKEN: <API token from https://accesslint.com>
    ACCESSLINT_GITHUB_USER: <GitHub user authenticated at https://accesslint.com>
  node:
    version: 6.1.0

dependencies:
  override:
    - npm install -g accesslint-cli
    - gem install accesslint-ci

test:
  post:
    - bundle exec rails server -d -p 3000
    - accesslint-ci scan http://localhost:3000

Private Repo Support

AccessLint does not support commenting on private repos right now. Follow the project backlog for plans.

TravisCI, Jenkins, etc.

AccessLint CI only works in CircleCI right now. See #15

License

AccessLint CI is Copyright © 2016 thoughtbot, inc. It is free software, and may be redistributed under the terms specified by the MIT License.

About thoughtbot

thoughtbot

AccessLint is maintained and funded by thoughtbot.

We love open source software! See our other projects or hire us to design, develop, and grow your product.