{"id":952,"date":"2015-08-26T12:05:58","date_gmt":"2015-08-26T11:05:58","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/web\/?p=952"},"modified":"2015-08-25T16:15:33","modified_gmt":"2015-08-25T15:15:33","slug":"hide-or-not-to-hidewhen-to-use-expandable-content","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/web\/2015\/08\/26\/hide-or-not-to-hidewhen-to-use-expandable-content\/","title":{"rendered":"Hide or Not to Hide\u2026When to use Expandable Content"},"content":{"rendered":"<p>Expandable content, or an accordion as it is sometimes referred to, is a content type that allows you to show and hide information on a webpage.<\/p>\n<p>When the content is collapsed it appears as a heading on the screen.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content-headings1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-967\" src=\"https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content-headings1-300x133.jpg\" alt=\"Expandable content (collapsed)\" width=\"300\" height=\"133\" srcset=\"https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content-headings1-300x133.jpg 300w, https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content-headings1.jpg 450w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>After the user clicks on the heading it expands to display hidden content.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-970\" src=\"https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content-300x200.jpg\" alt=\"Expandable content\" width=\"300\" height=\"200\" srcset=\"https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content-300x200.jpg 300w, https:\/\/blogs.ncl.ac.uk\/web\/files\/2015\/08\/expandable-content.jpg 450w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Expandable content can be used on both desktop and mobile, or simply on mobile.<\/p>\n<p>In our recent Go Mobile training, there were a few questions about when to use expandable content.<\/p>\n<p>Let&#8217;s\u00a0look at some of the advantages and disadvantages of this content type to help you decide when, or\u00a0if, you should use expandable content on your site.<\/p>\n<h2>Helps reduce scrolling and provides an overview<\/h2>\n<p>Expandable content makes content more <strong>compact<\/strong> so it helps to <strong>reduce page length<\/strong> <strong>and scrolling<\/strong>. This is particularly beneficial for <strong>mobile devices<\/strong>, where <a href=\"http:\/\/www.nngroup.com\/articles\/mobile-content-is-twice-as-difficult\/\">reading is more difficult<\/a>.<\/p>\n<p>Expandable content also provides an overview of content on a page.<\/p>\n<p style=\"text-align: left;padding-left: 60px\"><em>&#8220;The mini-IA provided by the accordions helps readers understand the structure of the page and lets them focus on the relevant pieces.&#8221;<\/em><\/p>\n<p style=\"text-align: left;padding-left: 390px\">Hoa Loranger Nielsen Norman group (NNg)<\/p>\n<p>This helps your users decide more quickly whether your page contains the information they\u2019re looking for, and again reduces scrolling.<\/p>\n<h2>Direct access<\/h2>\n<p>As pointed out by Raluca Budiu (NNg), expandable content also gives people <a href=\"http:\/\/www.nngroup.com\/articles\/direct-vs-sequential-access\/\">direct access<\/a> to information rather than forcing them to read content that may not be relevant to them.<\/p>\n<p>This is really useful if you have some content that is <strong>specific to certain audiences<\/strong>.<\/p>\n<p>For example, we use expandable content on our\u00a0Open Day website for the <a href=\"http:\/\/www.ncl.ac.uk\/openday\/travel\/\">travel page<\/a>. It\u00a0works well for this content as people only need to expand the information relevant to them. If\u00a0people are planning to travel to the University by train they\u2019re not forced to read information about travelling by car and parking in the city.<\/p>\n<p>Similarly, expandable content is used on our\u00a0<a href=\"http:\/\/www.ncl.ac.uk\/undergraduate\/degrees\/q306\/entryrequirements\/\">undergraduate website<\/a>\u00a0to\u00a0display the range of qualifications accepted for undergraduate degrees. Prospective students only need to click to expand the qualifications that are applicable to them.<\/p>\n<h2>Extra click to access information<\/h2>\n<p>Giving users the choice to view content is useful, but\u00a0can be problematic\u00a0as they\u00a0<strong>may choose not to view your content<\/strong>.<\/p>\n<p>This means that content hidden behind an accordion may not be seen by your users.<\/p>\n<p style=\"padding-left: 60px\">&#8220;<em>An extra step is required to see the information. Headings and titles must be descriptive and enticing enough to motivate people to \u201cspend\u201d clicks on them.<\/em>&#8220;<\/p>\n<p style=\"padding-left: 390px\">Hoa Loranger (NNg)<\/p>\n<p>Since <strong>content in an expandable box could be overlooked<\/strong> by your users this demonstrates that <strong>essential information should never be hidden<\/strong>.<\/p>\n<p>It\u2019s important that your <strong>main messages can still be understood<\/strong>, even if your users don\u2019t click to view your expandable content.<\/p>\n<p>Expandable content can also be frustrating to your users if they need to read all of the information on your page.<\/p>\n<p style=\"padding-left: 60px\">&#8220;<em>Forcing people to click on headings one at a time to display full content can be cumbersome, especially if there are many topics on the list that individuals care about.<\/em>&#8220;<\/p>\n<p style=\"padding-left: 390px\">Hoa Loranger (NNg)<\/p>\n<h2>Visual line on the screen<\/h2>\n<p>Another issue with expandable content is that it acts as a visual line on the screen.<\/p>\n<p>We found, through user testing,\u00a0that people often <strong>don\u2019t expect content to follow expandable boxes<\/strong> and stop scrolling.<\/p>\n<p>We therefore recommend using this content type<strong> near the end of your page<\/strong> if possible.<\/p>\n<h2>Summary<\/h2>\n<p>There&#8217;s no\u00a0hard and fast rule about when to use expandable content. It&#8217;s use\u00a0depends on the<strong> nature of your content<\/strong> and the <strong>audiences you\u2019re writing for<\/strong>.<\/p>\n<p>If content is<strong> audience-specific<\/strong> then expandable content is a good way to give users direct access to information that is most relevant to them &#8211; on both desktop and mobile.<\/p>\n<p>Expandable boxes are also useful for <strong>secondary and supplementary content<\/strong>, <strong>particularly on mobile<\/strong>, as they save space and reduce scrolling. However, to encourage users to click expandable content it\u2019s crucial that you\u2019re <strong>headings are meaningful<\/strong>.<\/p>\n<p><strong>Use this content type sparingly<\/strong>\u00a0\u2013 remember it\u2019s an <strong>extra click for users to access hidden information<\/strong>.<\/p>\n<p>If content is <strong>essential information<\/strong> and applicable to all of your users\u00a0<strong>don&#8217;t hide it<\/strong>.<\/p>\n<h2>References<\/h2>\n<p>Hoa Loranger, <a href=\"http:\/\/www.nngroup.com\/articles\/accordions-complex-content\/\">Accordions Are Not Always the Answer for Complex Content on Desktops<\/a>, Nielsen Norman Group (NNg), 18 May 2014<\/p>\n<p>Raluca Budiu, <a href=\"http:\/\/www.nngroup.com\/articles\/direct-vs-sequential-access\/\">Direct Access vs. Sequential Access: Definition<\/a>, Nielsen Norman Group (NNg), 13 July 2014<\/p>\n<p>Jakob Nielsen, <a href=\"http:\/\/www.nngroup.com\/articles\/mobile-content-is-twice-as-difficult\/\">Mobile Content Is Twice as Difficult<\/a>, Nielsen Norman Group (NNg), 28 February 2011<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Expandable content, or an accordion as it is sometimes referred to, is a content type that allows you to show and hide information on a webpage. When the content is collapsed it appears as a heading on the screen. After &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/web\/2015\/08\/26\/hide-or-not-to-hidewhen-to-use-expandable-content\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1268,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,15],"tags":[53,26],"class_list":["post-952","post","type-post","status-publish","format-standard","hentry","category-content","category-go-mobile","tag-content-prioritisation","tag-writing-for-the-web"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts\/952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/users\/1268"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/comments?post=952"}],"version-history":[{"count":17,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts\/952\/revisions"}],"predecessor-version":[{"id":985,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts\/952\/revisions\/985"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/media?parent=952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/categories?post=952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/tags?post=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}