homepage Welcome to WebmasterWorld Guest from 54.205.228.154
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Accessibility and Usability
Forum Library, Charter, Moderators: ergophobe

Accessibility and Usability Forum

    
Javascript/AJAX versus iFrame
Given the choice, which one is the most accessible and better to use?
Jeremy_H




msg:3159341
 1:58 am on Nov 17, 2006 (gmt 0)

Hello,

I'm playing around with integrating Google Co-Op into my website.

Right now, I'm toying with the idea of outputting search results into a page on my site via javascript (AJAX if that makes a difference), or from their domain but shown through an iframe.

I know each poses its own unique challenges and benefits, but in general, I'm wondering which is more accessible and better to use, JavaScript/AJAX or iFrame

 

Setek




msg:3162175
 8:07 am on Nov 20, 2006 (gmt 0)

Just to put it into context:

  1. The AJAX solution will not work without javascript enabled, whereas the iframe will;
  2. The iframe is more than a little inconvenient for JAWS and similar assistive devices (along with Google's own code being about as inconvenient);

So, as you said, each have their pros and cons, but I think the iframe will work on more browsers (old and new) than AJAX.

alfaguru




msg:3179971
 1:36 pm on Dec 6, 2006 (gmt 0)

For the AJAX option, you should have a noscript alternative, which I would guess could send users directly to Google.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Accessibility and Usability
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved