Has there been any discussion about transitioning the Rails and/or Ajax
onClick events? I’m attempting to create valid XHTML 1.0 Strict code to
improve cross-browser interoperability, but I never get valid results
when using a lot of the included helpers, and a lot of examples I see on
this list still resort to ‘onClick’ events.
events on the client side… Your XHTML code remains valid, but this
Again, the reason for doing this is that your application can
- you can provide valid documents (very helpful when creating
- You can separate your content from your events
- You can reduce code (see unobtrusive table sorting)
- It promotes web standards!
It seems a shame to me that Rails is so far ahead of the curve on so
many other things, and yet it still tends to do things in a way that’s
not standards-compliant. That’s why I was wondering if this has been
given some consideration by the core team. As a developer (and a user)
of sites that must adhere to various accessibility and standards
regulations, this is a concern to me.
Thanks for your time.
Learning & Technology Services
University of Wisconsin-Eau Claire
715 836 3585