Ruby Accessibility Analysis Kit (RAAKT gem) 0.3


Raakt (Ruby Accessibility Analysis Kit) gem



Raakt is a toolkit to find accessibility issues in HTML documents.
It can be used as part of a an automatic test procedure or as a
command line tool to evaluate remote web sites. Focus is on finding
accessibility issues that never should be present (thus, there are no
“…if applicable”), and that are machine testable (you have to test
your content some other way).

A Ruby on Rails plugin that uses Raakt is in the works and will be
released shortly.


Developers need to be able to make better web sites without having
to know the details of accessibility issues.

The web needs to be accessible for more people.


Install gem: sudo gem install raakt

Create a (minimal) command line tool for remote testing:

   require 'rubygems'
require 'net/http'
require 'uri'
require 'raakt'

url = ARGV[0]

#Get html for the url specified
uri = URI.parse(url)
res = Net::HTTP.start(, uri.port) {|http|

# Set up the RAAKT test
raakttest =

#Run all checks and print result to the console
result = raakttest.all

if result.length > 0
  puts "Accessibility problems detected:"
  puts result
  puts "No measurable accessibility problems were detected."


See unit tests for details and README for a list of checks made. A
web page with detailed instructions on how to correct issues will be
available in the future.

This is an initial release which may have severe bugs and may make
your computer burst into flames for all I know. Please report bugs at
the rubyforge project page:

Kind regards,

Peter K.
Stockholm, Sweden