- By Chris Poteet
- April 19th, 2017
- 4 Comments
To say that responsive web design has changed our industry would be an understatement at best. We used to ask our clients which resolutions and devices they wanted us to support, but we now know the answer is “as many as possible.” To answer a challenge like this and to handle our increasingly complex world, our industry has exploded with new thinking, patterns and approaches.
In this article, I want to look specifically at the issue of responsive navigation. We will first talk about information architecture, then the purpose of navigation, and finally we will look at three responsive navigation patterns that have served well over time.
Further Reading on SmashingMag: Link
- Responsive Navigation On Complex Websites1
- Navigation For Mega-Sites2
- Implementing Off-Canvas Navigation For A Responsive Website3
- Responsive Menus: Enhancing Navigation On Mobile Websites4
The Information Architecture Challenge Link
The first things that are affected in a mobile-first world, or at least should be, are content and information architecture strategies. If our applications are primarily about facilitating tasks and sharing of information, then we must focus there first.
The industry went through a trend of megamenus and increasingly complex navigation structures, but responsive web design has forced us to rethink this complexity. How much does our navigation need to hold in order to be effective? Does an application really need several different types of navigation, or can it work fine with just one? You will find that most responsive navigation patterns have forced us to simplify and concentrate, and that is a benefit of a mobile-first approach5.
The truth is that if your information architecture isn’t optimized, then it doesn’t matter how slick your responsive navigation solution is. This was true long before we were debating the merits of media queries, but now the challenge is even greater. We must ensure that our navigation structures, when they are revealed on our websites, are clear and minimize any cognitive friction8.
Here are a couple of questions to ask as you create your navigation:
- Is it painfully clear what each of your labels means, and is the value proposition (sometimes called “information scent9”) clear to your visitors?
- How can you reduce the complexity in your navigation as much as possible? If your navigation structure is seven levels deep, not many are going to be up for that challenge.
- How can you ensure that the navigation doesn’t get lost throughout your resolution adaptations?
- Have you tested it thoroughly to ensure that the navigation aligns with the user’s goals in visiting the website?
The Purpose Of Navigation Link
Let’s take a quick moment to reflect on the purpose of navigation. This might seem elementary, but I’ve seen too many applications whose designers have forgotten these important principles. The best article I’ve read on this comes from one written over a decade ago by Derek Powazek10 (which shows that the heart of the matter remains the same). He writes:
Navigation also has three parts, which are used to communicate to the user about their past, present, and future. Any good global navigation scheme should, at a glance, answer the top three questions every user has at the back of their mind on any page:
- Where am I? (Present)
- Where can I go? (Future)
- Where have I been? (Past)
We must revisit these principles because I see that most responsive navigation solutions handle these very inconsistently. Most solutions handle the question “Where can I go?” pretty well, but most websites don’t even bother to show in their responsive solutions where the user is currently or where they’ve been. As you adapt some of the patterns we’ll look at, be sure to mold them to satisfy these important criteria.
Stephanie Lin has just posted an article entitled “The Rules for Modern Navigation13,” which makes a good complement to this article. She covers important interaction design components to consider in your navigation.
Preferable Patterns Of Responsive Navigation Link
Remember that we have a lot of options today for responsive navigation, but here is my take on the best patterns. Brad Frost has done us all a service and cataloged most, if not all, of these patterns on his website This Is Responsive14. He has also written two posts about these patterns: “Navigation Patterns15” and “Complex Navigation Patterns for Responsive Design16.”
1. The “Do Very Little” Pattern Link
This pattern is well illustrated on the UX London 2017’s website17. Here is what it looks in small viewports.
Why It Works Link
I love this pattern because it fundamentally makes navigation a priority, and it doesn’t hide the navigation behind any progressive disclosure19. Most responsive navigation patterns involve progressive disclosure, and while disclosure is a good option, it should only be pursued when a better option doesn’t exist. I agree with Nielsen Norman Group on this issue20: If you can show navigation, show it. No one visiting this website has to wonder where the navigation is. A bonus is that this has no client-side dependencies, so you can keep your dependencies low and reduce failure points.
However, this is a hard sell for a lot of responsive applications. First of all, it doesn’t handle complex navigation well. If you need more than one level in your application shown at one time, then this pattern is not for you. Also, it could take up a lot of important vertical space in the application, so be sure that you can implement it like the UX London site and keep the allotted space in check.
2. The Multi-Level Toggle Link
Most applications can get away with two levels of navigation, and I have found this is the sweet spot for many of my implementations. In small viewports, this pattern enables users to toggle the subsections easily and see the contents within. One modern example of this is the White House’s website21.
Why It Works Link
It may not be the flashiest solution, but I have found it to be very stable. This pattern works well for the majority of navigation I need to support, and it effectively handles simple two-level navigation structures (which I’m hesitant to go beyond in most circumstances). Also, we must always build these solutions progressively23, so that they work even when the code supporting them fails.
I used to use FlexNav24 to achieve this effect, but the project has been abandoned by its owner. A promising alternative is SmartMenus25, but I have not used it yet. If you are interested in a pure CSS version of this, check out CSS Script’s code example26.
3. The Simple Toggle Link
This is another good option and is really a variant of the previous pattern. In this case, we have no need for multiple levels, but the navigation items are still too numerous to allow for the “do very little” pattern. An example of this is found on Starbucks27’ website.
Why It Works Link
With some clear iconography and colors, this option can really work well because it is very simple to implement and use. Variations of this pattern push content down or overlap it, and I feel both are acceptable. If you want a good script for this, check out Responsive Nav30.
Remember that you do not necessarily have to support multiple levels in your responsive solution. For example, the World Wildlife Fund31’s navigation at higher viewport resolutions has a dropdown, but at the lowest viewport it simply toggles and the top-level links go to landing pages, where the remaining navigation items are shown. You could also provide alternate ways to navigate, including breadcrumbs, which can be a helpful addition at any viewport size.
Honorable Mentions Link
As mentioned, there are many approaches you could choose from today to handle your project’s needs. Even though I like the three above the best, here are two other possibilities.
This is probably the most popular, but some implementations are better than others. It can be done well, and if you want a script, I have used MMenu34 with great results.
Priority Plus Link
This has picked up steam in the last year or so, and it can also be good in some situations. I have used it on websites that have really long horizontal navigation, to avoid having to hide the menu items too early as the viewport shrinks. The only big problem with this solution is that it forces you to make assumptions about what is most important, so be careful. I have used the PriorityNav.js37 script for this, and it has worked well.
The Dreaded Hamburger Icon Link
There is simply no way I can talk about responsive navigation and not mention the debate around the hamburger icon (there are also other variants of responsive “mystery meat” navigation indicators40). The real issue here is: Does the icon convey enough meaning on its own, or does it need a textual indicator? The debate is essentially about the universality and recognizability of the hamburger icon. For me, very few icons have a universally clear meaning without some kind of text to support them, and the hamburger icon is just another example of why it’s best not to rely on the icon alone. Ask yourself, Is it worth confusing a visitor by not including it, or should I just include it to increase the likelihood that it will be understood? I lean towards including a textual indicator. Remember to always evaluate the context of your application to answer questions like these.
Here are some articles that talk about the issue if you want to learn more:
- “Obvious Always Wins41,” Luke Wroblewski
- “Icons as Part of a Great User Experience42,” Nick Babich, Smashing Magazine
- “Hamburger Menus and Hidden Navigation Hurt UX Metrics43,” Kara Pernice and Raluca Budiu, Nielsen Norman Group
- “Testing the Hamburger Icon for More Revenue44,” Peep Laja, CXL
The great news is that there are more options than ever for handling navigation in your responsive application. As long as you stick to clear information architecture design, testing and proven patterns, you will ensure that visitors will be able to use your website easily now and into the future. The next step is to start experimenting with these and other patterns to see what works best for your particular application. Behavior and needs change over time, so continually re-evaluate how you use these approaches. Another article on Smashing Magazine, “Responsive Navigation on Complex Websites45,” provides case studies and code for you to go further.
(da, vf, yk, al, il)
- 1 https://www.smashingmagazine.com/2013/09/responsive-navigation-on-complex-websites/
- 2 https://www.smashingmagazine.com/2013/03/navigation-mega-sites/
- 3 https://www.smashingmagazine.com/2013/01/off-canvas-navigation-for-responsive-website/
- 4 https://www.smashingmagazine.com/2012/06/responsive-menus-enhancing-navigation-on-mobile-websites/
- 5 http://www.lukew.com/ff/entry.asp?933
- 6 https://www.smashingmagazine.com/wp-content/uploads/2017/03/intel-large-opt.png
- 7 https://www.smashingmagazine.com/wp-content/uploads/2017/03/intel-large-opt.png
- 8 https://www.interaction-design.org/literature/article/my-head-hurts-cognitive-friction-in-the-age-of-mobile
- 9 https://www.nngroup.com/articles/information-scent/
- 10 http://alistapart.com/article/whereami
- 11 https://www.smashingmagazine.com/wp-content/uploads/2017/03/ncsbn-large-opt.png
- 12 https://www.smashingmagazine.com/wp-content/uploads/2017/03/ncsbn-large-opt.png
- 13 http://www.uxbooth.com/articles/the-rules-for-modern-navigation/
- 14 https://bradfrost.github.io/this-is-responsive/patterns.html#navigation
- 15 http://bradfrost.com/blog/web/responsive-nav-patterns/
- 16 http://bradfrost.com/blog/web/complex-navigation-patterns-for-responsive-design/
- 17 http://2017.uxlondon.com/
- 18 http://www.webhostingreviewsbynerds.com/wp-content/plugins/rss-poster/cache/f157b_UX_London_2017-opt.png
- 19 http://vanseodesign.com/web-design/progressive-discolosure/
- 20 https://www.nngroup.com/articles/killing-global-navigation-one-trend-avoid/
- 21 http://whitehouse.gov
- 22 http://www.webhostingreviewsbynerds.com/wp-content/plugins/rss-poster/cache/351ee_whitehouse-preview-opt.png
- 23 http://alistapart.com/article/understandingprogressiveenhancement
- 24 http://jasonweaver.name/lab/flexiblenavigation/
- 25 https://www.smartmenus.org
- 26 http://www.cssscript.com/multi-level-toggle-responsive-navigation-menu-using-pure-css/
- 27 http://www.starbucks.com/
- 28 https://www.smashingmagazine.com/wp-content/uploads/2017/03/starbucks-large-opt.png
- 29 https://www.smashingmagazine.com/wp-content/uploads/2017/03/starbucks-large-opt.png
- 30 http://responsive-nav.com/
- 31 http://www.worldwildlife.org/
- 32 https://www.smashingmagazine.com/wp-content/uploads/2017/03/wwf-large-opt.png
- 33 https://www.smashingmagazine.com/wp-content/uploads/2017/03/wwf-large-opt.png
- 34 http://mmenu.frebsite.nl/
- 35 https://www.smashingmagazine.com/wp-content/uploads/2017/03/zurb-large-opt.png
- 36 https://www.smashingmagazine.com/wp-content/uploads/2017/03/zurb-large-opt.png
- 37 http://gijsroge.github.io/priority-nav.js/
- 38 https://www.smashingmagazine.com/wp-content/uploads/2017/03/wonderfulmachine-large-opt.png
- 39 https://www.smashingmagazine.com/wp-content/uploads/2017/03/wonderfulmachine-large-opt.png
- 40 https://twitter.com/lukew/status/591296890030915585
- 41 http://www.lukew.com/ff/entry.asp?1945
- 42 https://www.smashingmagazine.com/2016/10/icons-as-part-of-a-great-user-experience/
- 43 https://www.nngroup.com/articles/hamburger-menus/
- 44 https://conversionxl.com/testing-hamburger-icon-revenue/
- 45 https://www.smashingmagazine.com/2013/09/responsive-navigation-on-complex-websites/
- 46 https://twitter.com/bencallahan
- 47 https://twitter.com/OlkinComm
↑ Back to top