Web accessibility from the start — always apply semantic HTML, form labels, ARIA attributes, keyboard navigation, live regions, alt text, and heading hierarchy when building any UI component
93
90%
Does it follow best practices?
Impact
98%
1.24xAverage score across 5 eval scenarios
Passed
No known issues
An e-commerce store needs a reusable product card component for their catalog page. Build it using React and TypeScript.
The card should display:
The component should accept props:
interface ProductCardProps {
id: string;
name: string;
imageUrl: string;
price: number;
description: string;
onAddToCart: (id: string) => void;
}Design requirements:
Produce:
src/components/ProductCard.tsx -- the product card componentsrc/components/ProductCard.css -- styles for the cardevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
skills
web-accessibility-essentials
verifiers