7. Ajax and Accessibility

Doing the Right Thing

In an oft-quoted remark, Sir Tim Berners-Lee said:

"The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect."

The first sentence refers to the power of universal access. Using the principle of progressive enhancement, you can harness that power pretty easily. If you build your Web sites on a foundation of semantic, well-structured markup and then use technologies like CSS and JavaScript to add extra layers of presentation and behavior, you can rest assured that your content will be accessible by any user-agent.

As you've seen, the same approach can be taken with Ajax. The Hijax technique lets you add snazzy interactivity for the benefit of ...

Get Bulletproof Ajax now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.