this looks really useful - it would work really well with an error checker:

AccessChecker = Proc.new{|ie|

    raakttest = Raakt::Test.new(ie.html)
 result = raakttest.all

    if result.length > 0
      puts "Accessibility problems detected on #{ie.title}, #{ie.url}:"
      puts result
    else
      puts "No measurable accessibility problems were detected."
   end
}

ie = Watir::IE.start('...')
ie.add_checker( AccessChecker)

this now means that every time a page is loaded, the accessability checks 
get run

Paul


----- Original Message ----- 
From: "Peter Krantz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 25, 2007 4:12 AM
Subject: [Wtr-general] Basic accessibility testing with Watir and RAAKT...


> Hi!
>
> I have been tinkering with an open source accessibility testing tool
> that easily hooks into Watir. The idea is to check for basic
> accessibility issues while you are running your Watir functional tests
> (because you have access to the complete html output from your
> application).
>
> The idea is to capture as many accessibility errors as possible before
> your app is tested by the QA people. This will hopefully save both
> time and money see [0] for more on why.
>
> The tool is called Raakt (Ruby Accessibility Analysis Kit) and the
> project wiki can be found here:
> http://www.peterkrantz.com/raakt/wiki/
>
> Instructions on how to use it in Watir are here:
> http://www.peterkrantz.com/raakt/wiki/frameworks/watir
>
> I would be grateful for feedback on how well this integrates with
> Watir and if you had any specific issues with it.
>
> Kind regards,
>
> Peter Krantz
> http://www.standards-schmandards.com
>
> [0]: 
> http://www.standards-schmandards.com/2007/rapid-accessibility-feedback/
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to