This post originated from an RSS feed registered with Ruby Buzz
by Eric Stewart.
Original Post: Ruby on Rails and web accessibility
Feed Title: Ponderings On Ruby
Feed URL: http://blog.eric-stewart.com/category/programming-ruby.rss
Feed Description: This is the Ruby related section of Eric Stewart's weblog. These entries will be the commentary of a long time Java/C++ programmer that started exploring Ruby in 2003.
It so happens that much of the web work I have done in the past (and at present) has had a strong accessibility requirement. Most of the standard accessibility techniques are not difficult, improve usability anyway, and encourage use of standards.
Certainly there are many wrenches to through into the accessibility cogs. Javascript and Ajax are two big ones right now that make things more difficult. But from what I can tell they can be utilized also with careful design (and knowledge of degradation techniques).
In any case, since I enjoy the Ruby on Rails platform so much these days it seems natural to want to bring tools that help the average developer create a more accessible site.
The first of those I will make available soon. Last night I wrote a custom assertion plugin for rails called assert_accessible that works like and is based on Scott Raymond’s1assert_valid_markup plugin. It still needs some polish and cleanup before I put it up for everyone to use.
assert_accessible sends the last page rendered through a get or post call in your rails test to the WebAim accessibility validator and fails on any errors.
I’ll hopefully have something publically available later this week and have more ideas in mind. Stay tuned!