Is progressive enhancement a current issue anymore?
Asked Answered
E

6

7

There are couple of things I hear in defense of progressive enhancement.

Javascript is off or not available. According to W3School's Javascript statistics, 95% had Javascript enabled January 2008 (2.5 years ago). The trend, based on those stats, seems to be that Javascript enabled browsers are on the rise. Heavy AJAX adoption has probably pushed users to enable even faster. To support text-only or accessibility doesn't make a lot of sense from the business perspective since they probably account for less than <1% of the traffic.

Mobile browsers won't work. I would either way create a mobile version of the site because of the limited screen size and a whole different browsing experience on the mobile devices. One could argue to use different CSS for screen readers/mobile devices, but you won't be able to crank up as much information on a mobile device no matter how tidy you make it look.

The original statement isn't even true for the newer generation mobile devices, like the Android and iPhone, which have a total of >200,000 combined daily activation rate. Besides, most Javascript eye-candy (like jQuery UI) doesn't make much sense because the website experience on the mobile device is so different (no mouse hover, etc.). I consider mobile devices to be a platform of their own that needs a customized version of the website. Another trend has been creating a "native app" version of the website/service.

Spiders won't be able to crawl. This isn't true either. It's possible to use the DOM as a data container for the Javascript (populate div/input tags with your entities). Also, Google has made efforts to make AJAX websites crawlable.

Similar threads:

Interesting links:

Enwind answered 26/7, 2010 at 12:31 Comment(3)
Those are not W3C statistics. They are W3Schools' statistics which are generated from the self-selecting sample of users who want to learn how to build websites but haven't discovered that W3Schools has error prone and security hole ridden tutorials that should be avoided if at all possible.Grimsby
Fixed. Good catch! It seems hard to find unbiased JS usage statistics.Enwind
That would be because it is impossible to collect truly unbiased JS usage statistics.Grimsby
G
8

Javascript is off or not available

And use of plugins such as NoScript is also on the rise (unsurprising since JS vulnerabilities have been a popular attack vector, and it doesn't need a vulnerability for a looping alert() bomb to spoil your afternoon)

Mobile browsers won't work.

And then we have browsers such as Opera Mini, which doesn't handle JS well but does handle large screen layouts well.

Spiders won't be able to crawl

So you can work around some dependency on JS in some search engines by spending time providing instructions on how to run the JS, and building it in a particular way in the first place. This is often higher maintenance then just building with progressive enhancement.

Grimsby answered 26/7, 2010 at 12:45 Comment(0)
B
2

It depends on what you're building.

For web applications, PE often isn't ideal. The effort involved in PE for web apps without compromising the UI of any of the platforms is so big that building multiple front-ends is most of the time cheaper and more effective for your users. A well-designed mobile UI is often functionally different from its desktop cousin by necessity. Search engines usually don't matter much for web apps because the content itself shouldn't be indexed. As an example, look at gmail, which implements several different front-ends, and just redirects users to the appropriate one.

For web sites, things are very different. Content is more static, and it needs to be indexed. In that case, PE is almost a given.

So, you'll need to look at your specific projects and evaluate the pro's and con's for each one individually.

Braid answered 27/7, 2010 at 7:46 Comment(0)
F
1
  • Google is trying, but good is it at it? Does it affect site rank? What about other crawlers?
  • Mobile devices are important and they are going to be even more. You can make a separate mobile site, but wouldn't it be easier to make one site instead of two?
  • Even if it is only 5%, can you afford to loose them?
  • What does it take to support browsers without javascript? Just make a link out of every interactive object and let the script handle it if it can. It may not be perfect, and you cannot do everything that way, but it can be made usable.
Flaky answered 26/7, 2010 at 12:55 Comment(0)
B
1

With WAI-ARIA attributes, you can build Ajax applications that are accessible. Sure... There are still some issues with drag and drop etc, but don't use statistics to prove that accessibility isn't worth while.

Bantling answered 26/7, 2010 at 12:58 Comment(7)
You are mixing business with philanthropy. Evaluating the cost-effectiveness of supporting a feature set that results in new customers should be based on statistics. Don't get me wrong, my deepest sympathies to people with disabilities. But as stated, we are creating/running a business and prioritizing accessibility support isn't very high on the list since the monetary gain from it isn't relatively as high. It's simple as that.Enwind
I don't think ARIA is that overhead. You still need css classes to style your content. But you can use ARIA roles and states instead to get the same effect plus it makes it usable for screenreaders supporting ARIA. So instead of class="button active" you can use role="button" aria-pressed="true". This attributes can used in css to style your button, if you dont need to support ie6.Forgetful
@Enwind - I suggest you argue the case with your management. And when you're at it, you might suggest that to save even more money, you should outsource IT to some cheaper emerging economy. After all, it makes business sense and your company isn't a charity.Bantling
@Gert G - Wow. What are you babbling about? Geoarbitraging might really be a good business decision. But why are you stating the obvious and projecting the (reasonable) argument I threw at you? You or your near relative must be disabled. My condolences. Lets heal all the diseases, bring the world peace and live happily ever after. Time to come to reality. You don't even know the website/service I'm creating and yet you have a really strong position on how useful it will be to the disabled. I'm the management, although I don't see how that is relevant.Enwind
@Gert G - You must define what worth while means in this context for us to continue. Making the world a better place doesn't cut it. Do you honestly take the effort of making every website you create accessible?Enwind
@Gert G, I wish I had the chance. I wish I had unlimited time and resources. Please understand it is not a question whether I would, personally, like to add the support. All the kudos I have for trying to help those people. No hardies. I have a family to feed. I will do everything in my power to maximize the likelihood of this project succeeding to feed them. Currently, adding accessibility support (along with many other things) adds unnecessary complexity that doesn't help me to get to the goal, nor does it generate any income. My family's wellbeing (to reasonable extent) comes before others.Enwind
The complexity might be a legal requirement, depending on the jurisdictions you operate in.Grimsby
P
1

We recently had a project to create accessible UI widgets. We explored progressive enhancement and found little reason to use it (even after reading the Filament book). We used jQuery and WAI-ARIA. Progressive enhancement can be valuable if your product must absolutely work on any type of browser. However, most businesses don't need to support that wide of a range of devices/browsers.

Progressive enhancement essentially makes you more than double your effort because you must create the modern widget that works with AJAX and sophisticated styling. You also must make a bare-bones version that uses traditional forms posts. If you have a complex widget that does something like an in-page wizard or grid editing using AJAX, you must develop that plus you must make separate pages for every step to support browsers without AJAX capability. The overhead becomes enormous.

It's a great methodology for maximizing capabilities, however it isn't very practical on large-scale initiatives with time and budget constraints. This was the decision we came to for our project. We feel we made the right choice.

Photography answered 22/4, 2011 at 16:4 Comment(0)
C
0

Is IE6 still around? Yes. So you still need workarounds. If PE is better than the others can be discussed.

As for JavaScript: The new big security hole can turn public opinion into believing "JS == Satan", so they will all switch it off and lynch those who argue pro it.

Finally, every little problem with your site will cost you customers. So what should it be? Do you want a site that is easy to create (but turns away most people, especially those with influence) or a site that tries hard to shine in any browser (and attracts more visits)?

Cuttlefish answered 26/7, 2010 at 12:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.