
160 Chapter 4: Organizing the Page: Layout of Page Elements
• Users may want to see more than one module at a time.
• Some modules are much taller or shorter than others, but they’re all of similar width.
• The modules are part of a tool palette, a two-level menu, or some other coherent
system of interactive elements.
• The modules’ contents may be otherwise related or similar.
• You may want to preserve the linear order of the modules.
Also note that when large modules are open or many modules are open, the labels on the
bottom of the
Accordion may scroll off the screen or window. If that’s a problem for your
users, consider using a different solution.
Why
Accordions have become a familiar interactive element on web pages, almost as familiar
as
Module Tabs and drop-down menus. (They aren’t quite as straightforward to use, how-
ever.) Many websites use
Accordions in their menu systems to manage very long lists of
pages and categories.
In general, grouping and hiding chunks of content can be a very effective technique for
decluttering an interface.
Accordions are part of a toolkit that includes Module Tabs, Movable
Panels
, Collapsible Panels, and Titled Sections to do so.
Accordions may be useful in web page navigation systems, but they really shine in desktop
applications. Tool palettes in particular work well with
Accordions (and Movable Panels
as well, for similar reasons). Because users can open any set of modules and leave them
open,
Accordions help users modify their “living space” in a way that suits them. Yet it’s
easy to reopen a rarely used module when it becomes needed.
How
Arrange the modules vertically, in an order that makes sense for your particular applica-
tion or site. Give each module a short and descriptive title, and put that title into a hori-
zontal bar that the user can click to toggle the module open and closed. You could indicate
the “openability” of a module title bar with a rotating triangle icon: point it rightward
when closed, and downward when open.
Allow more than one module to be open at a time. There are differing opinions on this—
some designers prefer only one module to be open at a time, and some implementations
only allow one (or have a switch that developers can set, at least). But in my experience,
especially in applications, it’s better to let users open multiple modules at a time. It avoids
the abrupt and unexpected disappearance of a previously open module: “Hey, where’d that
other menu go? It was right here!”
When used in an application or when the user is signed in to a website, an
Accordion ought
to preserve its state of opened and closed modules between sessions. This isn’t as impor-
tant for navigation menus as it is for tool palettes.