Skip to content

DS-057: Extract a shared Accordion component #457

Description

@IbrahimIjai

Context

The Referrals FAQ has a feature-local accordion. Other educational and settings
views should not reimplement disclosure behavior.

Scope

  • Add shared single-open and multiple-open accordion modes.
  • Support disabled items, heading-level configuration, and controlled state.
  • Move generic animation and icon treatment into the shared component.
  • Provide a migration example for the Referrals FAQ.

Acceptance criteria

  • Triggers are real buttons inside semantic headings.
  • Enter, Space, and sequential keyboard navigation work.
  • Content IDs and expanded states are programmatically connected.
  • Reduced-motion behavior is respected.
  • Tests cover single, multiple, controlled, disabled, and keyboard states.

Out of scope

  • Rewriting FAQ copy.
  • Adding remote content loading.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions