Accordions on Desktop: When and How to Use
While accordions can simplify long content pages and minimize scrolling, they diminish content visibility and increase interaction cost. On desktop, use accordions for content-heavy pages where users will not need to access content under several accordions.
Swimming through a sea of content and trying to find what we are looking for can feel tiresome, particularly when faced with lengthy, information-rich web pages. An accordion is a design pattern that can help mitigate the challenge.
An accordion is a header that can be clicked to reveal or hide content associated with it.
An accordion is typically made up of three elements:
Accordions are a type of progressive disclosure. The heading provides a concise overview of the topic. The panel is hidden by default, offering supplementary details to those who are interested. An accordion thus empowers people to choose what to read and what to skip. It supports user control and freedom, the third of the 10 usability heuristics for user-interface design.
Accordions are versatile. They share similarities with anchor links, helping users navigate through page content. They also can be used to organize information in a logical manner and implement as a mini-IA of a page. The following are key advantages of accordions.
Disclosing rich information all at once can make a page cluttered and overwhelming. Accordions display information one section at a time and hide information that is not relevant to the user. They simplify the page, lowering users’ cognitive load and allowing them to concentrate on the information immediately at hand.
Users are used to scrolling, but they scroll for a purpose. Collapsing information in accordions not only shortens the page but also ensures that essential content remains visible. Accordions reduce the effort required to navigate through long pages and allow a broader range of topics within the content to remain accessible without the need for scrolling.
Just like how animals forage for food, users navigate on the web to satisfy an information need. As soon as they land on a page, they start to look for cues that assure them they are on the right track to finding what they need. An effective webpage should promptly communicate what users can expect to find on the page and eliminate any unnecessary guesswork as it won’t take long until they decide to seek their answers elsewhere. This is where accordions can play a vital role—acting as a concise table of contents, providing users with an overview of available content without delving into details. Accordions help users form a mental model of the page, empowering them to navigate with confidence and efficiency.
Research shows that people tend to scan web pages rather than read them word by word. Therefore, web pages should accommodate this behavior by making the content easily scannable. One effective strategy is to organize information in chunks. Accordions shine in this regard as they break down lengthy content into digestible sections. Accordion headings support scanning by highlighting the main points of each chunk. This streamlined presentation enables users to process information faster and better.
Accordions allow users to quickly access the piece of information relevant to them without having to scroll through all the preceding content. Direct access is particularly beneficial for users who are searching for specific information or are interested in only one small portion of the information on your page.
Despite accordions’ ability to effectively organize information and simplify long, complex pages, their use on desktop is not always recommended. Here are some of their drawbacks.
Using accordions on a content page can hinder users’ ability to access information from different content blocks. When a user needs to access information from most or all accordions, it can become tedious to have to expand each of them. Excessive clicking interrupts people’s interaction with the page. Forcing users to interact with each panel individually to access the information can lead to a loss of context when important details are scattered across different panels. Users may have difficulty connecting related information from different sections on the page.
This problem can further escalate when an accordion automatically closes when another is opened, restricting users’ ability to combine information from multiple accordions at the same time. If you expect users to need information from several accordions at once, it is better to display all the content at once (even if it results in a longer page).
Each step involved in expanding the accordion—scrolling the page, scanning the headings, deciding which one to expand, targeting the click, and waiting for the content to appear—incurs a certain interaction cost. These individual substeps may seem minor, but they accumulate and can become burdensome for users.
Utilizing accordions to hide secondary content simplifies the page, but it also compromises the discoverability of the collapsed content. Valuable content that is hidden under an accordion may be missed altogether. Furthermore, when the heading fails to provide a descriptive and enticing preview, users are less likely to expand the accordion and might miss out on the entire section hidden beneath. This diminished discoverability undermines the effectiveness of the information contained within the accordions.
Plain text is inherently accessible without additional measures. In contrast, designers must make sure that accordions are accessible for keyboard and screen-reader users. To achieve this, the accordion heading should function as a button, allowing keyboard users to interact with the element. Screen readers should also announce the state change when the accordion is opened or collapsed. In addition, when the accordion is collapsed, ensure the content inside the panel is both visually hidden and programmatically unreachable to all users. Simply making the content invisible without restricting access can lead to an inconsistent user experience and confuse sighted keyboard users as they won’t be able to see what they are interacting with.
Accordions are often not optimized for printing. In the absence of an Expand All button or of a special implementation to optimize printing, users are required to expand each accordion individually before printing. This can be cumbersome, especially on lengthy pages with numerous accordions and extensive content.
Additionally, auto-collapse accordions that permit only one accordion to be open at a time make it impossible for users to access and print all the content on the page at once. When incorporating accordions, it is crucial to ensure that the page is properly configured to facilitate printing. Consider including an Expand All button or expanding accordions automatically at print preview.
Deciding whether to incorporate accordions into your design requires careful consideration of the tradeoffs and benefits involved. Start by considering:
Based on these considerations, the following recommendations can guide your decision.
If you choose to incorporate accordions into your design, keep the following guidelines in mind:
Accordions are a valuable tool for organizing and simplifying complex web pages. When implementing accordions on desktop, consider potential drawbacks and make informed decisions based on your audience's needs and the nature of the content being presented. By weighing the tradeoffs and aligning with content requirements, you can use accordions effectively to enhance user experience and facilitate efficient navigation.
More Stuff I Like
More Stuff tagged usability , content design , design patterns , accordions , user experience design
See also: UX , Content creation & management
MyHub.ai saves very few cookies onto your device: we need some to monitor site traffic using Google Analytics, while another protects you from a cross-site request forgeries. Nevertheless, you can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings, you grant us permission to store that information on your device. More details in our Privacy Policy.