Skip to content

[Task] Verify Expandable Component #433

@natalia-fitzgerald

Description

@natalia-fitzgerald

Verify Expandable component to be used in the component library

Context

https://cfpb.github.io/design-system/components/expandables

Verification checklist

1. Verify the CFPB Design System (React) component against the CFPB Design System

For existing components

Design System Design System in React
Image Image
  • Check to see if the applied CSS styles match the specs in the DS if applicable (message @natalia-fitzgerald if it does not)*
  • Manual visual review has been conducted and component has passed this review

2. Run accessibility checks

  • Component is keyboard-friendly (navigable with tab, space, enter, arrow keys, etc.)
  • Component does not introduce new errors or warnings in WAVE
  • Component is screen reader friendly (screen reader testing demo)
    • Is all the meaningful visual information and text of the component conveyed by the screen reader? (text, non-decorative image descriptions, etc.)
    • When interacting with the component using a screen reader, do you have all the information you need to use it? (selected vs unselected, button vs link, expanded vs collapsed, etc.)
    • Does the component have similar screen reader behavior as the sample components in WCAG, the CFPB design system, WebAIM, or similar accessibility examples?
  • For reference: CFPB manual web accessibility audit

3. Verify component unit tests

  • Verify component unit tests are implemented and passing - 85% or greater (ex: yarn vitest Button)
Unit tests
Image

4. Prepare a PR for Code Review

  • Create a PR with the name: Final component verification review for XXXX component
  • Copy this verification checklist that's almost complete into the PR description

5. Conduct Code PR review

6. Conduct Component Verification PR review

  • Apply GitHub label "component-verification"
  • Change the component's status from Draft to Verified in Storybook
  • Add a DSR contributor as a reviewer (A designer and a developer must review)
  • Ping DSR contributors in Slack in the Design System in React channel when ready

7. Verify component

  • Merge when design and dev review completed to finish component verification 🎉

Screenshot

Screenshot 2026-02-05 at 2 01 33 PM Screenshot 2026-02-05 at 2 01 42 PM

Tagging for awareness

@gogogabby007 @flacoman91

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions