Skip to content
This repository has been archived by the owner on Apr 21, 2018. It is now read-only.

benbalter/ra11y

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ra11y

Gem Version Build Status

Ruby-based automated accessibility testing for Jekyll and other static sites

Requirements

Ra11y requires Pa11y or a similar command-line accessibility testing tool. To install Pa11y:

npm install -g pa11y

Installation

Add this line to your application's Gemfile:

gem 'ra11y'

And then execute:

$ bundle

Usage with Jekyll

Add the following to a Rakefile:

require 'ra11y'

task :test do
  sh "bundle exec jekyll build"
  Ra11y::Site.new("./_site").run
end

Then run bundle exec rake test

Contributing

  1. Fork it ( https://github.com/[my-github-username]/ra11y/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Ruby-based automated accessibility testing

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published