Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Step 4: Card component status state - Development #4519

@caw310

Description

@caw310

Description

The primary use case for the card in error state is when the user is viewing prefilled information (which is displayed in cards, per the "Help Users to... Know When Their Information is Prefilled" pattern) and some of their prefilled information is missing and required for the form.

Build a web component of [component name]. Be sure to add analytics if necessary, see guidance.

Details

Tasks

Planning & Design

  • Review component requirements and confirm details with the design team
  • Ensure Figma designs are complete and accessible (attach links)
  • Identify dependencies and technical constraints

Development

  • Set up the component's folder structure and boilerplate code follow Creating a new component documentation
  • Implement the component's core functionality
  • Add styles (CSS/SCSS) to match the design system standards and import USWDS styles where possible
  • Add accessibility features (ARIA roles, keyboard navigation, etc.)
  • Write unit tests for core functionality
  • Write integration tests for broader compatibility
  • Add the component to the design system library (e.g., Storybook)

Review & Testing

  • Conduct a code review with peers
  • Conduct a design review with the design team
  • Perform cross-browser and cross-device testing
  • Perform accessibility testing (using tools like Axe, NVDA, or VoiceOver)

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions