Resonance Logo

Cart Summary

A full shopping cart view that presents line items in an accessible table with quantity controls, removal actions, and a live-updating order summary.

Demo

Interact with the cart below. Try adjusting item quantities using the stepper controls, then remove an item using its remove button. Observe how the order summary totals update in real time and how a screen reader would be informed of those changes.

Shopping Cart

Product Quantity Unit Price Line Total Actions
Blue T-Shirt
$29.99 $29.99
Black Running Shoes
$89.95 $179.90
Wool Beanie
$18.50 $18.50
Subtotal
$228.39
Shipping
$5.99
Tax
$18.27
Order Total
$252.65

What to Observe

Anatomy

[Anatomy image placeholder — will be added when assets are available]

  1. Cart table: Wraps all line items in a semantic table with appropriate column headers for product, quantity, unit price, and subtotal.
  2. Line item row: A table row representing a single product, including its image, name, quantity stepper, and calculated subtotal.
  3. Quantity stepper (inline): Decrement and increment buttons paired with a numeric display, scoped to the row's product context.
  4. Remove button: A clearly labeled action that deletes the line item; its accessible name includes the product name to disambiguate it from other remove buttons.
  5. Order summary panel: Displays subtotal, shipping estimate, taxes, and order total; updates live when quantities or items change.
  6. Live region: A visually hidden element that announces cart changes — such as item removal or total updates — to screen readers.

Accessibility Behavior

Common Mistakes

Why This Matters

The cart summary is one of the most transactional areas of any eCommerce experience. A screen reader user who cannot understand the relationship between items and their prices, or who misses an announcement that their total has changed, may complete a purchase with incorrect quantities or an unexpected cost. Poor focus management after item removal means keyboard users must navigate through the entire page to resume their task. Getting this component right means all users can review, adjust, and confirm their order with the same confidence as anyone using a mouse.

Accessibility Validation

This component is validated against internal accessibility criteria aligned with WCAG standards, using our internally developed system, Resonance Specs.

To learn more, please contact us.

Code

Reference Implementation