Sadly, the demos and examples I have looked at reflect this - they do not use progressive enhancement at all, and they definitely do not degrade gracefully. In addition to that, many examples contain invalid HTML by the way of custom attributes.
Spry doesn’t stop at requiring custom attributes either - one of the demos I looked at recommends giving a
div element a
tabindex attribute to enable keyboard navigation. Well, had someone spent all of 10 seconds to look at the HTML 4.01 Specification they would have noticed that
tabindex is not a valid attribute for a
div element, which is likely why it does not work in Safari. Even worse is the very odd-looking
src value for the image in the Photo Album demo:
Ok. Now make that degrade gracefully.
Yes, they do state that some demos are just “proof of concept” and that they are neither accessible nor use progressive enhancement. But I am pretty sure that the number of people who will grab an example and use it as-is will be much larger than the number of those who figure out how to make it degrade gracefully. Remember that Spry is aimed at Web designers, and
I also find the following quote from the Spry FAQ disturbing:
Hmm. I thought this was the 21st century.
Come on Adobe, you both can and should do better than this.
- Previous post: Apple’s Safari team comments on the new W3C HTML WG charter
- Next post: Simple PHP randomizer
Subscribe / follow
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost