Accordion

v.1.6.3.0

Overview

The Accordion is a layout component used to present large amounts of content on a single page by allowing users to hide and show portions of the information, thereby reducing scrolling or navigation to other pages. It affords the user an opportunity to read, compare, and/or act on the content in different sections concurrently. Unlike the expandable DataTable each section can present content unrelated to the other sections.

Anatomy

Alignment

States

Overflow

Digital Accessibility

Keyboard Navigation and Screen Reader

KeyFunctionSemantic HTML RoleAnnounced ContentARIA Attributes
1 - Tab / Shift + TabFor Global Keyboard Functions please see the 'References' link located below this spec.Button (row)header label, secondary label, state, button, groupna
2 - Ent or SpcFor Global Keyboard Functions please see the 'References' link located below this spec.Button (Icon Only)label, buttonna
3 - Up / Down ArrowFor Global Keyboard Functions please see the 'References' link located below this spec.nanana
ARIA Considerations
- Tab stop, label and value when nec., eg. "Header Lorem Ipsum", "Button Easy Order".
- Aria tags are used to describe up/down arrows can be used to navigate between rows. This is unique to the first row, is not repeated as a user navigates up/down between rows.
Rationale
NA

References

Global Practices - Keyboard Functions

View code on Storybook