Mobile Website Design + Responsive Web Development Services
Responsive Web Design
Responsive Web Design
The world will soon have one billion smartphone subscribers. This means more people accessing websites on mobile devices than ever before. As of April 2015, Google ranks websites in search results based on their mobile friendliness (whether or not a webpage is "responsive").
Websites must be designed with more than just one user experience in mind, given the various devices being used. No longer can we rely on the 1024x768 standard for designing websites. Mobile users only have a screen the size of their palm. The primary interaction method is also different. Instead of a keyboard and mouse, smartphones and tablets use touch screens. Finger taps tend to be less precise than mouse clicks, and we lose important interaction methods, like hover, with touch-based interfaces.
Another element to think about is performance – while desktop users may do fine with a heavy site, mobile users may struggle with bad connections.
With all these variations between devices, how can we present the user with the best possible web experience?
Designing a separate mobile site is one approach, but it means maintaining separate sites. Mobile apps are also an effective approach, but again, it requires costly development and maintenance of multiple solutions. For many organizations "Responsive Web Design" is the answer. Responsive design is an approach which allows us to optimize a single website to be viewed on any device.
Dunn Solutions has experience in developing responsive websites which perform best on both mobile and desktop. Below are some of our best practices to consider.
Responsive Web Design Subsection
Best Practices for Responsive Web Design
How Responsive Web Design Works
The driving force behind responsive web design is the ability to use browser properties to determine the correct display for the website's layout and content. For example, a tablet user would see a resized version of the desktop layout, compressed to fit the space, and a smartphone user would see a one column layout with an expanding navigation.
One strategy for optimizing website layouts with responsive web design is to use breakpoints. Many devices fall into one of four standard device widths:
- 960 pixels – Desktop devices
- 720 pixels – Tablets in portrait mode
- 480 pixels – Smartphones in landscape mode
- 320 pixels – Smartphones in portrait mode
These widths can be used as breakpoints for our website design. For example, if the browser width is greater than or equal to 960 pixels, we could use a 920 pixel width, three column layout. If our browser width is 480 pixels or less, we'll change our site width to 480 pixels and a one column layout.
Responsive design can be taken to another level using fluid, percentage-based layouts. Fluid layouts allow your website to fill the browser, regardless of the width. Other elements, like images, videos and text can also be made fluid so that your content fits the layout, no matter the size. Then through testing we set the breakpoints for layout and content changes where they are needed, rather than at standard sizes. This guarantees that every user (not just the "standard" set) have a great user experience. However it does require more testing to make sure the site and content respond well at every size.
Using CSS styling instead of images when possible
A large part of making sites accessible by all devices means keeping loading time low. Several options are available to cut down loading time:
- Lazy loading is when content is loaded as a visitor scrolls down a page. This allows users to download only as much as they will actually use. Lazy loading is useful for sites that have content like lists of articles because new articles can load as a visitor scrolls instead of loading once a user has clicked to see another page. This may also be easier than having users tap a "next" button after every few articles.
- Conditional loading is when the type of media content that is loaded depends on the visitor's screen size and resolution. This allows mobile users to download small file sizes while desktop users can get the full experience on a website.
Forms on touch screen devices
Forms can easily be made aesthetically pleasing on a tablet or phone, but usability can become an issue on those devices. Here are some general rules to follow to make forms as easy to use as possible:
- Use checkboxes, radio buttons, and drop down menus whenever possible. The less users have to fill in, the easier completing the form will be.
- Check for errors in text input fields as users are filling out a form. This is especially helpful on long forms.
In the past, hovering has been used on elements like navigation bars and general links to show that something is clickable. With the creation of touch devices, this has changed.
- Links should always be obvious now that they cannot rely on hovering to be discovered.
- Actions like arrows on a slideshow cannot only appear when hovered over because this makes them inaccessible on touch devices.
- Effects that rely on hovering should probably be avoided. On The Inspiration Grid website, for example, headlines for each image only appear when hovered over. This works nicely on a desktop device, but on a tablet or phone you must click through to the detail screen to see the content.
When working with existing sites to make them responsive, we use a top down method – optimizing the content as we shrink it down in size. Starting with your desktop-friendly website, we will modify the layout and content so the site will display and function well on mobile devices.
As we scale from a large desktop to a small device, content typically changes in one of three ways:
- It shifts: As the screen gets smaller, columns become narrower. Sidebars and other secondary content blocks move from the side to below the main column(s). Rows of six images become three, and then two, and then one, etc. All of this is done so you don't have to pinch, expand, and move around a site on a smaller device.
The flow of content, though, still needs to make sense to visitors as a screen sizes shrink. Interdigitation is the weaving of content in a way that keeps the most important information easily available. A product summary that, on a desktop device, floats on the right side of the page gets pushed under a main photo so users still get information quickly. A large navigation, on smaller pages, may be pushed to the bottom of a page.
- It's hidden: Content that would otherwise take too long to skim by scrolling or just doesn't fit well in the layout can be hidden. One way to keep important information easily accessible is to make some content expand when visitors want to view it.
In addition to keeping price information and the "add to cart" link at the top, reviews are visible only by expanding the reviews section. This prevents the most important links – the ones that allow visitors to buy products – from being buried by secondary information.
- It's removed: Generally, this is avoided. Ideally every user should be able to access all site features, regardless of the devices they use. On some sites users lose the ability to post jobs, find prices, and learn about the website when they use a tablet or mobile device. This puts the site at a disadvantage because most mobile users expect to be able to do as many things as a desktop user. Therefore, it is important not to hide important content as a screen size gets smaller.
However, in the name of aesthetics, reduced scrolling, lowered page load time, etc. some content can be hidden on smaller devices. If the decision to remove content is made, it should be backed by solid evidence proving it's the best decision.
desktop tablet and mobile devices
When working on new projects, a Mobile First method is preferred. It means the default presentation and base content is mobile, optimized for the simplest devices first. Then we "progressively enhance" the website as it moves up in size. Using this strategy we can provide mobile users with minimal screen real estate, processing power and third party plugins an amazing experience that both looks great and functions perfectly. As the need arises, the site can gradually be enhanced and even completely rethought for larger platforms with fewer constraints.