Chris - This is some fantastic work. I want to get this into SVN right away and begin expanding on it. The first major improvement, that I can see, would be to allow for $(":role") and $(":role(checkbox)") selectors, as opposed to the current filters.
Also, you might want to adjust how you set the attributes in browsers, check out Dojo's implementation and the associated post on the google group: http://groups.google.com/group/mozilla.dev.accessibility/browse_thread/thread/19fb681fad23db37#5ed706794b207fb6 http://trac.dojotoolkit.org/browser/dijit/trunk/_base/wai.js Also, check out Dojo's test suite - it'd be good to get something similar set up. http://trac.dojotoolkit.org/browser/dijit/trunk/tests/_base/wai.html I spotted a couple minor bugs with your implementation (mostly with forgetting to 'return' the right value at the end of chainable functions. But we can work that out in the wash. Ping me offlist for access to the jQuery SVN and we can start this going, and move the discussion over to the jquery-dev (or jquery-ui) list. --John On Dec 3, 2007 12:24 AM, Chris <[EMAIL PROTECTED]> wrote: > > Hello all, > > Because 1) I haven't been able to find much about jQuery and WAI-ARIA > (Accessible Rich Internet Applications), and 2) I wanted to try to get > my head around ARIA, I've written a jARIA plugin. > > code: http://www.outstandingelephant.com/jaria/jARIA.js > docs: http://www.outstandingelephant.com/jaria > > It should make implementing ARIA in jQuery-based Web apps relatively > simple. > > Any comments, questions or suggestions are more than welcome. > > I apologize if I've reduplicated anyone's effort. > > Best, > > Chris > > email: mistermuckle *at* gmail *dot* com >