background preloader

Presentations

Facebook Twitter

Six Revisions - Web Development and Design Information. Web Directions. Jeffrey Veen. Test-Driven Progressive Enhancement. Progressive enhancement has become an established best-practice approach to standards-based development. By starting with clean, semantic HTML, and layering enhancements using JavaScript and CSS, we attempt to create a usable experience for everyone: less sophisticated devices and browsers get a simpler but completely functional experience, while more capable ones get the bells and whistles.

That’s the theory, at least. But in practice, enhancements are still delivered to most devices, including those that only partially understand them—specifically older browsers and under featured mobile devices. Users of these devices initially receive a perfectly functional page, but it’s progressively “enhanced” into a mess of scripts and styles gone awry, entirely defeating the purpose of the approach.

So how do we build enhanced experiences while making sure all users get a functional site? Testing for capabilities#section1 floatclearpositionoverflowline-height testUserDevice.init(); Demo 1 Demo 2 <?