Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] Ruby Accessibility Analysis Kit (RAAKT gem) 0.3
Peter Krantz
7/12/2006 11:22:00 PM
NAME
Raakt (Ruby Accessibility Analysis Kit) gem
URIS
http://raakt.rub...
http://rubyforge.org/proje...
http://peterkrantz.com/proj...
SYNOPSIS
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.
WHY
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.
EXAMPLES
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.host, uri.port) {|http|
http.get(uri.path)
}
# Set up the RAAKT test
raakttest = Raakt::Test.new(res.body)
#Run all checks and print result to the console
result = raakttest.all
if result.length > 0
puts "Accessibility problems detected:"
puts result
else
puts "No measurable accessibility problems were detected."
end
DOCS
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:
http://rubyforge.org/tracker/?gro...
Kind regards,
Peter Krantz
Stockholm, Sweden
http://www.standards-schma...
http://www.peter...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] Ruby Accessibility Analysis Kit (RAAKT gem) 0.3
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password