Two Spry Questions

I had a few Spry questions during my presentation that I wasn't able to answer. I pinged the Spry Forum and got the responses I needed.

First - does Spry let you sort by two columns? The answer is yes. dougsm (of the famous Spry Patches page) showed this example:

dataSet.sort( [ 'colX', 'colY' ] )

The second big question I had was on accessibility. I'm going to quote Don Booth, one of the Adobe Spry engineers:

Screen readers generally read source code. The fact that Spry does not have content rich source will be a problem for those using readers. And they can't catch the dynamic screen refreshes. The bummer is that this affects most Ajax stuff. But the good news is that people, including us, are working on it. Mozilla is taking the lead on making their browser the leading assisted browsing tool. Users are also forcing browser makers and screen reader companies to keep up. On the Spry side, we invented the spry:content tag to allow for static and dynamic content to exist at the same time. This also helps SEO. But for now, Ajax is not reader friendly and those that need to be 508 compliant or otherwise accessible will probably not be using Spry or Ajax in a mission critical way.

Interesting. As a side note, I did not show the spry:content tag during my presentation as I was trying to keep things simple, but it is the recommended way to display data. It also gets rid of the "Spry Flash" effect you see on the initial load.

Like This?

If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can also subscribe to the email feed to get notified of new posts.