{"id":1686,"date":"2016-05-03T15:29:50","date_gmt":"2016-05-03T14:29:50","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/web\/?p=1686"},"modified":"2016-05-03T15:29:50","modified_gmt":"2016-05-03T14:29:50","slug":"a-quick-guide-to-expandable-content","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/web\/2016\/05\/03\/a-quick-guide-to-expandable-content\/","title":{"rendered":"A Quick Guide to&#8230;Expandable Content"},"content":{"rendered":"<p>Expandable content allows you to show and hide information on a webpage.<\/p>\n<p>This content type can be useful to reduce page length; particularly if content is <strong>only relevant to a specific audience<\/strong>.<\/p>\n<p>An example of this can be found on the Open Day website. Expandable boxes have been used on the <a href=\"http:\/\/www.ncl.ac.uk\/openday\/travel\/\">travel page<\/a> to allow users to quickly access information relevant to their chosen mode of transport. This saves them from reading information about all of the ways to travel to the University.<\/p>\n<p>The biggest drawback with an expandable box is that it\u2019s an extra click to see information so I\u2019ve summarised our standards for using them in our quick guide to&#8230;<\/p>\n<h2>Expandable content<\/h2>\n<p>You should <strong>never hide essential information<\/strong>\u00a0inside an expandable box as you can\u2019t guarantee that users will click to see the content.<\/p>\n<p>When adding expandable content to a page you should:<\/p>\n<ul>\n<li>include a <strong>descriptive title<\/strong> \u2013 you need to encourage the user to expand the box<\/li>\n<li>keep the title to a maximum of 30 characters<\/li>\n<li>make sure content within the box is <strong>shorter than the main content<\/strong> of the page<\/li>\n<li>include\u00a0no more than 100 characters within an expandable box<\/li>\n<li>make sure the content is written\u00a0for the web<\/li>\n<\/ul>\n<p>You should also try to\u00a0<strong>use expandable boxes at the end\u00a0of a page<\/strong> as they act as a visual break in the content. We found in user testing that people often don\u2019t expect content to follow expandable boxes and so they stop scrolling.<\/p>\n<h2>Related posts<\/h2>\n<p>For more advice on when to use this content type see my post: <a href=\"https:\/\/blogs.ncl.ac.uk\/web\/2015\/08\/26\/hide-or-not-to-hidewhen-to-use-expandable-content\">Hide or not to Hide: When to use Expandable Content<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Expandable content allows you to show and hide information on a webpage. This content type can be useful to reduce page length; particularly if content is only relevant to a specific audience. An example of this can be found on &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/web\/2016\/05\/03\/a-quick-guide-to-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],"tags":[40,112,26],"class_list":["post-1686","post","type-post","status-publish","format-standard","hentry","category-content","tag-editorial-style-guide","tag-expandable-content","tag-writing-for-the-web"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts\/1686","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=1686"}],"version-history":[{"count":5,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts\/1686\/revisions"}],"predecessor-version":[{"id":1694,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/posts\/1686\/revisions\/1694"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/media?parent=1686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/categories?post=1686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/web\/wp-json\/wp\/v2\/tags?post=1686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}