Accordions

Accordions enable users to open and close sections of page content.

Usage

When to use an accordion component:

  • If users will only need a few specific pieces of content within a page.
  • If you have only a small space to display a lot of content.

When not to use an accordion component:

  • If users need to see most or all of the information on a page. Use well-formatted text instead.
  • If there is not enough content to warrant condensing. Accordions increase cognitive load and interaction cost, as users have to make decisions about what headers to click on.

Accordion

Content creators should be able to decide if one or more of an accordion's sections are open in its default state. Note that a Show One Accordion could not have more than one section open, by default.

The arrow of an accordion section points toward the current location of that section's content. When the section is closed, the arrow points to the right to indicate that the content is hidden within the link/heading. When an accordion section is open, the arrow points down at the exposed content.

Users can select anywhere on the row of an accordion link/heading to toggle that section open and closed.

Keyboard operation:i

  • Space or Enter = When focus is on the accordion header of a collapsed section, expands the section. When focus is on the header of an expanded section, collapses the section (unless one section must be open at all times).
  • Tab = Moves focus to the next focusable element. All focusable elements in the accordion are included in the page Tab sequence.
  • Shift + Tab = Moves focus to the previous focusable element. All focusable elements in the accordion are included in the page Tab sequence.
  • Down Arrow = When focus is on an accordion header, moves focus to the next accordion header. When focus is on last accordion header, either does nothing or moves focus to first accordion header.
  • Up Arrow = When focus is on an accordion header, moves focus to the previous accordion header. When focus is on first accordion header, either does nothing or moves focus to last accordion header.
  • Home = When focus is on an accordion header, moves focus to the first accordion header.
  • End = When focus is on an accordion header, moves focus to the last accordion header.

Show More / Show Less

When the user selects a "Show More" link option, it retains its position at the end of the content that's revealed, and is replaced with "Show Less".

Do's and Don'ts

Types

Variants

Common Button Labels and Usage

Title case, 2-3 words maximum.
Do not combine actions in a label (exception: "Customize & Buy").
If standard labels don't fit the button's purpose, align label with the task the user is attempting.

Please refer to the Dell Technologies branding website, https://brand.delltechnologies.com/faq/#voice, for further information regarding call-to-action labels and usage.

Button Label:
Corresponding Action:
Add to Cart
Search
Cancel
Save
Edit
Delete
Continue
Next/Previous
Submit
Select
Sign In/Sign Out
View Details
Ok/Cancel
Learn More
Close
Takes users to Cart page, with item added
Used for search buttons
Takes users back to entry point for a task
Used to save an item
Navigates users to change an item
Deletes an item on the page, usually with a verification step
Used as progression
Used as forward and backward navigation (Next is primary, Previous is secondary)
Used to submit a task or info
Used for choosing items in a task flow
Authentication standard, for consistency do not use Log In/Log Out or Signin/Signout
Used instead of “Select” in cases of product details or within learn content
For use in modal verification steps when more specific CTAs will not fit due to space
Used to link users to more learning content or contextual help
Used within modal windows