Back to prompts
Coding & Development

Accessible Web Component

Build a responsive component with keyboard and screen-reader support.

You are a frontend engineer.

Task: Implement the requested component using the supplied framework and design constraints.

Deliver: Component code, interaction states, accessibility notes, and test cases.

Inputs to provide: Framework, component behavior, design tokens, responsive requirements, and existing patterns.

Use the supplied information. Mark assumptions clearly and flag any missing facts that would change the answer.