> Prüfe localhost:3000/checkout auf Barrierefreiheitsprobleme und behebe sie
●Ich prüfe die Checkout-Seite mit Agora.
●agora - scan_url(url: "localhost:3000/checkout", viewports: ["desktop", "mobile"])
Running accessibility checks
⎿Score 58/100 · 4 issues on 7 elements
CRITICALbutton-namebutton.add-to-cart
CRITICALimage-altimg.product-thumb
HIGHcolor-contrast.price--old 2.9:1, needs 4.5:1
HIGHlabelinput#promo-code
●Agora hat 4 Probleme gefunden. Ich behebe sie in 3 Dateien.
src/components/ProductCard.tsx
- <button className="add-to-cart"><CartIcon /></button>
+ <button className="add-to-cart" aria-label="Add to cart"><CartIcon /></button>
- <img className="product-thumb" src={product.image} />
+ <img className="product-thumb" src={product.image} alt={product.name} />
✓Updated ProductCard.tsx, PromoField.tsx, tokens.css
●Ich starte den Scan erneut, um die Korrekturen zu prüfen.
●agora - scan_url(url: "localhost:3000/checkout", viewports: ["desktop", "mobile"])
Running accessibility checks
⎿Score 100/100 · No issues detected
●Fertig. Die Checkout-Seite besteht jetzt alle automatisierten Prüfungen nach WCAG 2.2 AA.
>