Thanks to everyone at the Midwest UX conference who attended my talk on user experience design for the mobile web.Â It was a lot of fun, and I enjoyed talking with folks both in-person and on Twitter afterwards.Â It turns out that there are quite a lot of former developers or tech-leaning designers in the UX community!
Below is my presentation on SlideShare, as well as a text-only transcript.Â Please share and enjoy!
Hello, and welcome.Â Today I’m going to talk about designing for the mobile web.Â But first I want to relate a recent experience that encapsulates a lot of what we’re trying to do when we design for mobile: connect what’s onscreen to what we’re trying to do, in the moment, in real life.
A couple of months ago, I converted a spare bedroom in my house from what was essentially a storage space into a home office.Â Fortunately, my desk is right in front of a nice big window.Â UNfortunately, it’s a single pane, old wood window, in my 100-year old uninsulated house.Â The room stays cold, and I realized pretty quickly I needed a space heater.
Since I didn’t want to wait for one I’d order online, I decided to purchase one from a store near me.Â I did go online first to research features and prices, but then I headed over to my local Sears, since I figured they’d have a pretty extensive appliance selection.
I got to the store, head upstairs to where the space heaters are, and find the one I want.Â The price was a bit higher than at other stores online, but still okay.Â Even so, I’m a savvy shopper, and I wanted to see if Sears maybe had a price-matching policy.
So I took out my smartphone, and did the following Google search in my web browser:
“Sears price match policy”
Great, a web page with that exact phrase for the title, at the sears.com domain. So I tapped on the link to view it.Â But this is what I got:
“The server has not found anything matching the Request-URL.Â ERROR 404 Not found”
Not good.Â Where was the web page that Google had tantalizingly dangled in front of me?
But looking at the error page URL, I see:
Ah, sounds like a mobile URL.Â So the Sears web site KNOWS that I am on a mobile phone, but it can’t use that information to provide me with the appropriate experience based on the content I’m looking for and the context of me, standing in their store.
Then I went directly to “m.sears.com”, got their mobile site.
I repeated my search phrase there.Â But I didn’t really get anywhere there, either, just over 64 thousand results for things like jewelry.Â This was obviously searching their product catalog, not the site.
I even tried to go to www.sears.com, but I kept getting redirected to the mobile site.Â There was no way I could get to that page with the price match policy info from my phone.
Overall, not a good experience.Â And I’m not just talking about the mobile web site.Â While I did buy the space heater anyway, the entire process left me pretty grumpy.
What we have here is a failure to adapt.Â The Sears.com site couldn’t adapt to the combination of an incoming search query from a mobile device to a page on their main web site.Â They actually blocked me from getting to information they did have on their main site.Â I certainly hope web experiences like this do become extinct.
So, what is Adaptive Mobile Design?Â It’s an approach to creating web sites and applications that try to give each user the best possible content and experience, tailored to their device and browsing context.Â And the “try to give” part in there is pretty important, since we can never anticipate all of the factors involved.
As it turns out, this approach is nothing new.Â Another industry has been doing this for hundreds of years.
The ad industry is the perfect example.Â Display advertising, in particular, is a specific medium where within the relatively two-dimensional constraint of showing an advertising message, it adapts to the user context.
Here’s one from a classic roadside ad campaign.
Or this print ad, taking advantage of the then-novel full color printed magazine page.
Or Boston’s famous Citgo sign, where, in its pre-digital incarnation, shown here, the canvas was thousands of illuminated tubes of neon, lit up and set to animate.
The message adapts to, and sometimes even acknowledges the medium, as well as the setting.Â This tour bus ad, for example, is clearly meant for locals, as the tourists unwittingly become part of the ad.Â And the same campaign, adapted for taxicab and subway placements.
Here we’ve seen three major design considerations: canvas, capabilities and context.Â As applied to mobile design, Canvas is the varying display sizes and resolutions of phones, tablets and other devices.Â The capabilities of the device, from the processor speed to the data connection speed, also play a role.Â Finally, context: where the user is, what they’re doing, and their attention level.
Knowing these things, how do we apply them to the design of mobile web sites?
There are many different approaches you can take, everything from creating a separate mobile site to creating a single site to serve all devices and contexts.
Crafting a bespoke site or app is great, if you can manage it.Â But the fact is, it’s time- and resource-intensive.Â And it can be tricky figuring out how to gracefully integrate and manage a number of elements — work streams, strategy, content — across multiple sites.
It’s also a big challenge to redesign an existing site to be truly responsive.Â The tools and technologies are there, but to successfully implement such a site, it takes both developers and designers with intimate familiarity with all of their capabilities, limitations and differences cross-platform, -browser & -device.Â That’s a pretty tall order, for even the most skilled teams.
An approach that’s likely to work for a larger number of companies, especially those looking to make incremental improvements today, is to be pragmatic.Â Apply new technologies to your main site, where it makes sense, in order to improve the mobile experience for your users.
And these new technologies?Â HTML5 and CSS3.Â These two are just the latest versions of both HTML and CSS, used to structure and present web page content.Â But they are chock full of new features — too many to cover here, in fact.Â The following are just those most relevant to the mobile browsing experience.
First, HTML5.Â There are five features — four big ones, and one little one — that we’ll be looking at:
– Smart web forms, with form input UI changing based on the form field type.
– Geolocation, where the site can know your location and use that info.
– Dynamic device orientation, where the site gets motion tracking info from your phone.
– Web-native video playback, such as what Apple uses to display videos without the use of Flash on its iOS platform.
– And, semantic web markup, which is less a feature than an architectural change
Here we’ll look at smart web forms as implemented on sites viewed with the iPhone’s Safari browser.Â Shown is the default soft keyboard, a Qwerty one with all letters.Â Since space is limited, numbers and symbols requires toggling to different keyboards.
But if we go to eBay’s mobile web site, we can see one of the new input types in action.
On this page, in order to bid on this Go-Betweens record, I would tap in the field for â€œUSDâ€ (dollars), where I want to enter an amount.
Since the field value must be a number, eBay has specified an input type attribute value of “numberâ€ for that field.Â So when the soft keyboard appears, the version shown is numeric, not the default Qwerty one.
And here is what the HTML code for that would look like.Â Since it’s a new attribute type, it’s simply ignored in older browsers without any ill effect.
Here’s another input type, on MailChimp’s web site.Â When you go to sign up for an account, there’s the familiar field for inputting an email address.Â Tap on the email fieldâ€¦
â€¦and you get the Qwerty keyboard, but slightly modified, with the “@” symbol and a period sharing space with the space bar.Â This way, the user can enter an email address without having to toggle back and forth between the different default keyboard states.
And here is the code for that feature.
Next geolocation.Â This is something that is incredibly common in mobile apps, such as Google Maps, where it detects your current location to plot a course.Â But this is something that web sites can do, as well.Â On some platforms, such as the iPhone, you’ll need to explicitly turn on the ability for the web browser to use geolocation, as it’s turned off by default.
Assuming you’ve turned this feature on, Old Navy’s mobile web site has a store locator that uses geolocation. If you tap on the Find Store buttonâ€¦
â€¦you’ll first get an alert asking you if you want to let this web site know your location.Â If you tap on “OK”â€¦
You’ll automatically get a list of locations nearest you, without having to enter or tap on anything additional.
The next feature is dynamic device orientation.Â Like geolocation, this is something that’s being used in mobile apps now, primarily for games.Â Web applications of this feature are still pretty few and far between, but there are some demos online showing exactly how the movement of a device in-hand can effect objects onscreen.
Here is a brief video showing me using one of these web demos on my phone.
Another, more common feature, is web-native video playback.Â The de facto standard for video playback on the has been Flash, which isn’t a true standard at all, but a proprietary technology owned by Adobe.
Apple’s decision not to support video playback using Flash has given HTML5 video a real boost, and largely because of that, sites like YouTube and Vimeo have been adding HTML5 video support.
Here are a couple of examples showing how iPhone and Android each handle things.Â On the iPhone, tapping on the “Play” icon for this particular videoâ€¦
â€¦Triggers playback using the native iPhone video player.Â Safari hands off the request to that app.
On Android, things work a little differently.Â Again, seeing the same video play icon, tapping on itâ€¦
â€¦brings up a couple of programs from which the user can choose to play the video.
Handling video natively, each mobile platform gets to provide an experience that best meets the expectation of its users, instead of applying a one-size-fits-all approach.
Finally, semantic the new semantic tagging structure that HTML5 uses, something that should warm the hearts of information architects everywhere.Â Instead of faceless divs and spans that need classes and IDs to give them any meaning, the new content containers *themselves* have meaning.Â When we specify “nav,” “header” and “footer” in a wireframe, those elements can now be coded with “nav,” “header” and “footer” tags.
This also happens to be important for findability, as search engines are increasingly looking for structure to help apply meaning when parsing web page content.Â Properly structured and tagged content, especially when semantically tagged, will be more likely to be indexed properly and given greater prominence in results.
Those are the HTML5 highlights.Â Next…
CSS3.Â The story here for mobile is pretty much CSS Media Queries, whereby custom stylesheets, which determine web page layout, styling, and even content, can be served up for different screen size, page orientation and resolution.
A good example of a design that adapts to different screen sizes is the web site for northwest music festival Sasquatch.Â Here we see the full page layout, viewed in a web browser, close to fullscreen, on my laptop.Â But when viewed on my iPadâ€¦
â€¦The images and other content scale accordingly, filling the entire screen in way that perfectly suits this browsing context. This, instead of presenting a zoomed-out view of the “full-size” web page.Â Or even worse, a page with the right side cut off and a dreaded horizontal scrollbar.
And on the iPhone, the smallest screen size, you can see how the design once again undergoes a transformation.Â The heading design is completely different, in order to fit into that small space, and no attempt is made to show the full navigation bar, which likewise wouldn’t fit.
And next to the screen is the bit of code that shows how a phone-specific stylesheet is served up via a media query that says: “use this design when this content is viewed on a screen, with a maximum device width of 480 pixels.”
Orientation is another media queries feature.Â Here we have two screenshots from my iPad of a web site that changes the design based on the dimensions of the browser window: blue if the window is between 400 and 1000 pixels wide, red if it’s wider than 1000 pixels.Â Above is the code that specifies which stylesheet to use for which orientation: landscape or portrait.
And the third feature is screen resolution.Â Here are three different phones, each with a different screen pixel density.Â The oldest phone here, the iPhone 3GS, can show 163 dots per inch.Â The Samsung Galaxy S has a 233 DPI display.Â The best picture is on the iPhone 4 — with it’s “Retina Display” it can show twice the number of pixels as the previous generation iPhone, at 326 DPI.
Why do these things matter?Â By targeting screen resolution, you could serve up an entirely separate set of high-quality images to users with displays capable of viewing them in all their fine-detailed glory.Â Otherwise images designed for a lower resolution display may not scale properly.
And the code for that media query.
Of the features mentioned today, it’s important to note that while not all are currently supported on even the most popular smartphone platforms, the majority are.Â You can see that iOS and Android are the two leaders in support, as they are in U.S. smartphone OS market share.
So, I know that’s a lot of information to absorb, especially in 20 minutes.Â But, to wrap up:
You’ll already be doing something right by considering any device, any context, any screen as part of your design process.
As you can tell, you’ll need to be working closely with developers to fully realize great mobile experiences, as there are many moving parts.
Modern smartphone browsers already have good HTML5 and CSS3 support, so you should start using these techniques now. And of course ensure your sites are build in a way that browsers without those capabilities are still able to get essential content and functionality.
Finally, while this talk has centered around mobile, adaptive design is not limited to mobile, and these ways of thinking about the fluidity of content and experience can and should be applied to web design overall.
Here are a few great resources if you want to learn more about HTML5 and CSS3.Â All of these sites have tons of examples, many of them interactive, so you can see these and other techniques in action.Â I hope you find them as inspiring as I have.Â Thank you.
This past weekend, I learned that the proposal for my presentation on mobile UX design was accepted for inclusion in the program for the Midwest UX Conference, happening April 9-10 in Columbus, OH.Â Huzzah!Â I am honored and excited at the opportunity to talk about some of the specific technologies and techniques used to create great mobile user experiences.Â And I’m looking forward to meeting other UX peeps and learning a whole hell of a lot in the span of just two days.
While the Midwest UX web site has the complete and detailed program, below is the description for my talk, one of four mobile-themed presentations happening as part of the same afternoon session.
Saturday, April 9
Afternoon Session A 2:10 pm – 4:00 pm
Adaptive Mobile UX Design / 2:30pm 2:50pm
Whether putting pen to paper or mouse pointer to blank canvas in your wireframing program of choice, most of us still pick an unconscious 1024 x 768 pixel resolution, landscape-orientation starting point for our designs. And if we need to design for mobile, it’s often on a completely separate track that uses a limited subset of the content and functionality we plan for in the “main web site”.
But with smartphones now projected to be in the hands of half of all Americans by the end of this year (citation) it’s vital that user experience architects understand some of the mobile-centric techniques and technologies that developers are already experimenting with.
In this presentation, UX professionals will see specific examples of HTML5 and CSS3 that have greatest impact on the user experience, including:
- HTML5 form types used to create smart soft keyboard UIs
- CSS media queries that serve up custom versions of the same page, making them truly responsive to any screen size and resolution
- Device-orientation and location-awareness technologies that add a context layer to the experience of using a site or application
- Semantic HTML5 tags that bring our wireframes closer to the code that developers use to create finished web sites
Any user experience professional, even those not yet working in mobile, can benefit by viewing these new techniques and being aware of how they can be used today and involving designers and developers in that conversation.ï»¿