Progressive enhancement
Progressive enhancement is a strategy in web design that puts emphasis on web content first. This strategy involves separating the presentation semantics from the content, with presentation being implemented in one or more optional layers, activated based on aspects of the browser or Internet connection of the user.[1] The proposed benefits of this strategy are that it allows everyone to access the basic content and functionality of a web page, whilst people with additional browser features or faster Internet access receive the enhanced version instead.
History
"Progressive Enhancement" was coined by Steven Champeon & Nick Finck at the SXSW Interactive conference on March 11, 2003 in Austin,[2] and through a series of articles for Webmonkey which were published between March and June 2003.[3]
Specific Cascading Style Sheets (CSS) techniques pertaining to flexibility of the page layout accommodating different screen resolutions is the concept associated with responsive web design approach. .net Magazine chose Progressive Enhancement as #1 on its list of Top Web Design Trends for 2012 (responsive design was #2).[4] Google has encouraged the adoption of progressive enhancement to help "our systems (and a wider range of browsers) see usable content and basic functionality when certain web design features are not yet supported".[5]
Introduction
The strategy is an evolution of a previous web design strategy known as graceful degradation, wherein Web pages were first for the latest browsers first, but then made to work well in older versions of browser software.[6] Graceful degradation aims to allow a page to "degrade" – to remain presentable and accessible even if certain technologies expected by the design are absent.
In progressive enhancement the strategy is deliberately reversed: The web content is created with markup document, geared towards the lowest common denominator of browser software functionality.[7][3] The developer adds all desired functionality to the presentation and behavior of the page, using modern CSS, Scalable Vector Graphics (SVG), or JavaScript. In the case of JavaScript, script also follow the principles of unobtrusive JavaScript.
Background
The progressive enhancement approach is derived from Champeon's early experience (c. 1993-4) with Standard Generalized Markup Language (SGML), before working with HTML or any Web presentation languages, as well as from later experiences working with CSS to work around browser bugs. In those early SGML contexts, semantic markup was of key importance, whereas presentation was nearly always considered separately, rather than being embedded in the markup itself. This concept is variously referred to in markup circles as the rule of separation of presentation and content, separation of content and style, or of separation of semantics and presentation. As the Web evolved in the mid-nineties, but before CSS was introduced and widely supported, this cardinal rule of SGML was repeatedly violated by HTML's extenders. As a result, web designers were forced to adopt new, disruptive technologies and tags in order to remain relevant. With a nod to graceful degradation, in recognition that not everyone had the latest browser, many began to simply adopt design practices and technologies only supported in the most recent and perhaps the single previous major browser releases. For several years, much of the Web simply did not work in anything but the most recent, most popular browsers. This remained true until the rise and widespread adoption of and support for CSS, as well as many populist, grassroots educational efforts (from Eric Costello, Owen Briggs, Dave Shea, and others) showing Web designers how to use CSS for layout purposes.
Progressive enhancement is based on a recognition that the core assumption behind "graceful degradation" — that browsers always got faster and more powerful — was proving itself false with the rise of handheld and PDA devices with low-functionality browsers and serious bandwidth constraints. In addition, the rapid evolution of HTML and related technologies in the early days of the Web has slowed, and very old browsers have become obsolete, freeing designers to use powerful technologies such as CSS to manage all presentation tasks and JavaScript to enhance complex client-side behavior.
First proposed as a somewhat less unwieldy catchall phrase to describe the delicate art of "separating document structure and contents from semantics, presentation, and behavior", and based on the then-common use of CSS hacks to work around rendering bugs in specific browsers, the progressive enhancement strategy has taken on a life of its own as new designers have embraced the idea and extended and revised the approach.
Core principles
The progressive enhancement strategy consists of the following core principles:[3]
- Basic content should be accessible to all web browsers.
- Basic functionality should be accessible to all web browsers.
- Sparse, semantic markup contains all content.
- Enhanced layout is provided by externally linked CSS.
- Enhanced behavior is provided by unobtrusive, externally linked JavaScript.
- End-user web browser preferences are respected.
Support and adoption
- In August 2003 Jim Wilkinson created a progressive enhancement wiki page to collect some tricks and tips and to explain the overall strategy.[8]
- Designers such as Jeremy Keith have shown how the approach can be used harmoniously with still other approaches to modern web design (such as Ajax) to provide flexible, but powerful, user experiences.[9]
- Aaron Gustafson wrote a series covering the fundamentals of progressive enhancement, from the underlying philosophy to CSS approaches to how to handle JavaScript, for A List Apart.[6][10][11]
- Others, including Dave Shea, have helped to spread the adoption of the term to refer to CSS-based design strategies.
- Organizations such as the Web Standards Project (WaSP), which was behind the creation of Acid2 and Acid3 tests, have embraced progressive enhancement as a basis for their educational efforts.
- In 2006 Nate Koechley at Yahoo! made extensive reference to progressive enhancement in his own approach to Web design and browser support, Graded Browser Support (GBS).[12]
- Steve Chipman at AOL has referred to progressive enhancement (by DOM scripting) as a basis for his Web design strategy.[13]
- David Artz, leader of the AOL Optimization team, developed a suite of Accessible Rendering Technologies, and invented a technique for disassembly of the "enhancement" on the fly, saving the user's preference.
- Chris Heilmann discussed the importance of targeted delivery of CSS so that each browser only gets the content (and enhancements) it can handle.[14]
- Scott Jehl of Filament Group proposed a "Test-Driven Progressive Enhancement",[15] recommending to test the device capabilities (rather than inferring them from the detected user agent) before providing enhancements.
- Wt is an open-source server-side web application framework which transparently implements progressive enhancement during its bootstrap, progressing from plain HTML to full Ajax.
Benefits
Accessibility
Web pages created according to the principles of progressive enhancement are by their nature more accessible, because the strategy demands that basic content always be available, not obstructed by commonly unsupported or easily disabled scripting. Additionally, the sparse markup principle makes it easier for tools that read content aloud to find that content. It is unclear as to how well progressive enhancement sites work with older tools designed to deal with table layouts, "tag soup", and the like.
Search engine optimization (SEO)
Improved results with respect to search engine optimization (SEO) is another side effect of a progressive enhancement-based Web design strategy. Because the basic content is always accessible to search engine spiders, pages built with progressive enhancement methods avoid problems that may hinder search engine indexing.[16]
Criticism and responses
Some skeptics, such as Garret Dimon, have expressed their concern that progressive enhancement is not workable in situations that rely heavily on JavaScript to achieve certain user interface presentations or behaviors,[17] to which unobtrusive JavaScript is one response. Others have countered with the point that informational pages should be coded using progressive enhancement in order to be indexed by spiders,[18] and that even Flash-heavy pages should be coded using progressive enhancement.[19] In a related area, many have expressed their doubts concerning the principle of the separation of content and presentation in absolute terms, pushing instead for a realistic recognition that the two are inextricably linked.[20][21]
See also
- Universal design
- Unobtrusive JavaScript
- Graceful degradation
- Responsive web design
- Semantic HTML
- Content adaptation, transform content to adapt to device capabilities
Notes
- Mills, Chris (8 July 2011). "Graceful degradation versus progressive enhancement". World Wide Web Consortium. Retrieved 2020-08-13.
- Champeon, Steven & Finck, Nick (2003) Inclusive Web Design for the Future, SxSWi presentation
- Champeon, Steven (2003), Progressive Enhancement and the Future of Web Design, Webmonkey
- "15 top web design and development trends for 2012". January 9, 2012.
- Pierre Far (2014), Updating our technical Webmaster Guidelines, Webmaster Central Blog
- Aaron Gustafson (2008), Understanding Progressive Enhancement, A List Apart
- "101 Search Engine Optimization Tips". www.meta4creations.com. Retrieved 2016-04-14.
Progressive Enhancement […] means [to] build your website starting with the lowest common denominator browsers in mind.
- Wilkinson, Jim (2003), Progressive Enhancement - CSS Discuss Archived 2016-03-09 at the Wayback Machine
- Jeremy Keith's Adactio blog (2005), Progressive Enhancement with Ajax
- Aaron Gustafson (2008), Progressive Enhancement with CSS, A List Apart
- Aaron Gustafson (2008), Progressive Enhancement with JavaScript, A List Apart
- Nate Koechley, Graded Browser Support Archived 2006-04-14 at the Wayback Machine
- Steven G. Chipman (2005), New Skool DOM Scripting
- Chris Heilmann, Double Vision – Give the Browsers CSS They Can Digest (2005) Archived 2017-07-06 at the Wayback Machine
- Jehl, Scott. "Test Driven Progressive Enhancement". A List Apart. Retrieved 27 October 2009.
- Stephan Spencer, PE is good for SEO | Searchlight - CNET News
- Dimon, Garret, The Reality of Progressive Enhancement Archived 2007-03-17 at the Wayback Machine
- IA Summit 2006 » Blog Archive » Web 2.0 and SEO? Archived 2006-04-17 at the Wayback Machine
- deconcept » Using alternate content as content in Flash
- "Stopdesign | Are They Really Separated? (2003)". Archived from the original on 2009-01-02. Retrieved 2006-04-14.
- A List Apart: Articles: Separation Anxiety: The Myth of the Separation of Style from Content (2000)
References
- Bowman, Doug (2003) Are They Really Separated? Retrieved April 14, 2006.
- Edwards, James & Adams, Cameron (2006) Script Smarter: Quality JavaScript from Scratch Retrieved April 14, 2006.
- Heilmann, Christian (2006) Seven Accessibility Mistakes, Part I Retrieved April 14, 2006.
- Koechley, Nate (2006) Graded Browser Support Retrieved April 14, 2006.
- Malicoat, Todd (2003) Form vs. Function in Site Design Retrieved April 14, 2006.
- Nyman, Robert (2006) What is Accessibility? Retrieved April 14, 2006.
- Olsson, Tommy (2007) for Accessites.org Graceful Degradation & Progressive Enhancement Retrieved April 2, 2007.
- Shea, Dave (2004) Zen and the Art of Web Improvement (WE04 Keynote) Retrieved April 14, 2006.
- Stearns, Geoff (2006) Using Alternate Content As Content In Flash Retrieved April 14, 2006.
- van der Sluis, Bobby (2005) Ten Good Practices for Writing JavaScript in 2005 Retrieved April 14, 2006.
Further reading
- Articles
- Gustafson, Aaron (2008) Understanding Progressive Enhancement Retrieved July 7, 2011
- Gustafson, Aaron (2008) Progressive Enhancement with CSS Retrieved July 7, 2011.
- Gustafson, Aaron (2008) Progressive Enhancement with JavaScript Retrieved July 7, 2011
- Gustafson, Aaron (2007) Ruining the User Experience Retrieved May 7, 2007.
- hesketh.com, September 12, 2003 Progressive Enhancement: Paving the Way for Future Web Design
- Keith, Jeremy (2006) Behavioral Separation Retrieved May 7, 2007.
- Olsson, Tommy (2007) Graceful Degradation & Progressive Enhancement
- Books
- Briggs, Owen; Champeon, Steven; Costello, Eric; Patternson, Matthew (2004) Cascading Style Sheets: Separating Content From Presentation (2nd ed.). San Francisco: Apress. ISBN 1-59059-231-X
- Gustafson, Aaron (2011) Adaptive Web Design: Crafting Rich Experiences with Progressive Enhancement. Chattanooga: Easy Readers. ISBN 978-0-9835895-0-1.
- Keith, Jeremy (2007) Bulletproof Ajax. Berkeley: New Riders. ISBN 0-321-47266-7
- Keith, Jeremy (2005) DOM Scripting: Web Design with JavaScript and the Document Object Model. Berkeley: friends of ED. ISBN 1-59059-533-5
- Parker, Todd; Toland, Patty; Jehl, Scott; Costello Wachs, Maggie (The Filament Group) (2010) Designing with Progressive Enhancement Peachpit/New Riders. ISBN 978-0-321-65888-3