Raakt is a web accessibility analysis tool that makes it easy to integrate basic accessibility evaluation early in the development process. This means that you will save time (and money) as basic technical accessibility issues can be caught automatically as part of your automated test procedure.
What separates Raakt from other accessibility evaluation tools is that only Tests that are machine verifiable are included. The emphasis is on finding inaccessible stuff. It does not pretend to be able to tell you that your site is accessible (no automated tool can do that).
Raakt can be used by developers with limited web accessibility knowledge and fits into their regular suite of tests. When you do your expert accessibility evaluation, you can focus on issues that need manual assessment.
Paste the code below into a text file (Some free advice: don't name your test file “raakt.rb”). This will do a simple test of a remote web page:
require 'rubygems' require 'mechanize' require 'raakt' agent = Mechanize.new page = agent.get("http://www.peterkrantz.com") raakttest = Raakt::Test.new(page.body) result = raakttest.all if result.length > 0 puts "Accessibility problems detected:" puts result else puts "No measurable accessibility problems were detected." end
Getting started with Raakt is easy:
Raakt is meant to be part of your automated HTML unit tests (or acceptance tests or functional tests or what you call them).
Would you like to use Raakt in an environment not listed here? Please file a feature request at Rubyforge.
To learn more about Raakt, see:
Adding your own tests to Raakt (and other Ruby libraries) is easy. See the examples section for a description on how to add a HTML validation test.