Mobile Web Design Best Practices, Tips and Tricks
Everyone knows the key mantra for designing mobile web sites – “keep it simple” but there are some tips and tricks that will help to create a great user experience for mobile visitors…
- Capture mobile users from the full site – if your full site isn’t rendering well on mobile devices how are people going to find the link to your mobile site? Put in place a redirect to a mobile optimised layout though it’s worth remembering that redirects could also be annoying to users that wanted to see your main site so…
- Provide a link back to your full site – this could be in the footer or as a landing page but in some cases the user may be trying to achieve something not possible on a slimmed-down mobile site or they may be on a tablet that is incorrectly being recognised as a mobile device.
- Remember the bad old days - there are still a large number of mobile devices out there that do not fully support CSS and JavaScript, including older Blackberry models which are common in corporate environments. If non-smartphone users are a target audience for your site it should be designed with these older phones in mind and progressively enhanced to support more modern design features and input validation.
- Consider multiple mobile layouts - you could have a theme that optimises content specifically for iPhone and Android, leaving the other mobile users with a plainer but still small-screen optimised site. Figure out what your audience is likely to be using and target that but don’t forget to tweak and customise the site after you’ve gone live based on the type of devices your users are actually using which will change over time.
- Use appropriate input types – if you are asking the user to provide email address or usernames via a form it can be difficult for them to enter correctly if autocomplete is turned on, similarly it would be better to provide the numeric keypad if you are asking for a telephone number and you usually would not want . You can provide this functionality with a mix of the <input> tag and the autocapitalize property, there are a whole host of other possibilities including length checking and regular expressions but bear in mind not every device will respect these features.
- Avoid scrolling – pagination vs. scrolling has long been a debate in web design circles but if you want to provide your users with a more ‘app-like’ experience the key elements to your site should fit adequately on the page without the need for scrolling. This may not apply to content but if the user is being asked to follow through a process or provide a series of inputs it will be much clearer to the user what they have to do if it fits on one page, equally…
- Avoid clutter – if you have pages with little content it may be worth ensuring that any non-essential (but for whatever reason required) footer information sits below the bottom of the screen to avoid clutter, at the very least you should consider a little trailing white space followed by a dividing line to clearly separate the content from the footer.
- Consider the user’s goal – you might be falling over yourself to provide content or services to your mobile users but is that what they really want? Consider whether or not the user might have other goals in visiting your site and show how they can be achieved, even if that is not via your mobile site. For example, it may be helpful to include a ‘contact us’ or a telephone/email link on at least the first page if not every page.
- Don’t be annoying – it’s the little things that tend to irritate users and on a mobile device this is magnified since they are already compromising on screen size and input capability. For example, pre-fillling forms with help text may mean that the user is going to have to delete that text to enter their own – irritating enough on a desktop and even more so on a mobile device.
- Device testing is essential – there are dozens of emulators and simulators for mobile devices but nothing will ever match testing on devices, it is very tempting as a developer to test primarily on a desktop but it really isn’t the same as holding a small device at arm’s length and using a tiny keyboard to provide input. During your testing phase have someone with a very critical eye run through your site to check for any minor irritations, make sure to tell them to be ruthless in their criticism.
I hope that provides some useful information to those of you starting out with the mobile web and of course, much of this is up for debate so do get in touch if you disagree or have content to add. The list is not intended to be exhaustive and over the next few months I’ll add posts on testing and more technical aspects of the process.
Categories: Mobile Web Tags: Android, Blackberry, css, html, iPhone, JavaScript, Mobile, web
Over The Air 2011 Mobile Web Notes & Wrap-up
I recently attended the Over The Air mobile conference at Bletchley Park (please donate), the event was free to attend and very well organised with plenty of free food and drink as a bonus. My focus for the conference was the mobile web and I’ve compiled links to topics mentioned in presentations I attended in that area, they’re well worth a look so I thought I’d share them here…
Responsive Web Design
- Responsive Web Design Article
- Pragmatic Responsive Design
- Responsive Images code on github
- Presentation on Media Queries
Various Links
- Good presentation by Opera guy
- Using the viewport meta tag to control layout on mobile browsers
- YSlow Firefox Extension – shows why pages load slowly
- Full Opera Mobile Web Optimization Guide
- Making an iPad HTML5 App and Making it Really Fast
Useful Sites/Tools
Some W3C links…
- Mobile Web Best Practices 1.0
- Web Content Accessibility Guidelines
- Relationship between MWBP and WCAG
Categories: Development, Mobile Web, Web Design Tags: css, HTML5, JavaScript, media queries, Mobile, mobile web, opera, progressive enhancement, responsive web design, w3c


