I am working on an accessibility analysis kit which you will be able to use as part of an automated test procedure in Ruby on Rails. RAAKT is a Ruby port of PAAKT (the Python Accessibility Analysis Kit) and can be used for assessing basic accessibility of HTML documents.
