Skip to content
Web Design & Development

How to Get Progressive Enhancement Right

Building the page so the core content and functions work with HTML alone, then layering CSS and JavaScript on top for the browsers and connections that can take them.

MediaScaleUp Editorial Team 2 min read 11 views
How to Get Progressive Enhancement Right

Why does it matter?

JavaScript fails more often than teams assume — blocked requests, timeouts, parse errors, older devices — and a page built to fail gracefully still does its job when it happens.

What are the numbers?

  • Baseline that always works server-rendered HTML with real links and real form submissions
  • Common failure causes network timeouts, blocked third-party scripts, unsupported syntax on older devices
  • What crawlers render Googlebot renders JavaScript, but rendering is deferred and not guaranteed for every page
  • Feature detection test for the capability rather than sniffing the user agent

What should I do?

  1. Make forms submit and links navigate without JavaScript before enhancing either
  2. Render critical content on the server so it survives a script failure
  3. Detect features rather than browsers, and provide a working path when the feature is absent
  4. Treat the enhanced version as the optimization and the base version as the product
What to do and what to avoid with progressive enhancement, side by side
Good practice against the usual mistakes, from the sources listed below.

What should I avoid?

Avoid:

  • Requiring JavaScript to read an article
  • Client-side routing that breaks the back button or deep links
  • Assuming a modern browser means a fast or reliable connection
  • Shipping a blank page that only fills in after a third-party script answers

When should I get help?

Short answer Bring in help when a single-page application needs to be indexable, when analytics show a meaningful share of sessions with scripts failing, or when a rebuild has to support devices the current stack does not.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Web Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Web Design & Development