Resonance Logo

Image Gallery

An accessible product image gallery with keyboard-navigable thumbnails, previous/next controls, and a live region that announces the current image position to assistive technology.

Demo

Click the Previous and Next buttons to cycle through the main product image. Click any thumbnail to jump directly to that image. Use the keyboard — Tab to reach the controls, then Enter or Space to activate them — and listen for the position announcement that updates as images change.

What to Observe

Anatomy

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

  1. Main image: The large featured product image displayed in the gallery viewport; its alt text reflects the specific view shown.
  2. Previous button: Navigates to the preceding image in the set; disabled when the first image is active.
  3. Next button: Navigates to the following image in the set; disabled when the last image is active.
  4. Thumbnail strip: A row of smaller images representing each item in the gallery; each thumbnail is a focusable button.
  5. Position live region: A visually displayed or visually hidden element that announces the current image index and total count to screen readers.
  6. Selected thumbnail indicator: A visual and programmatic marker on the thumbnail that corresponds to the currently shown main image.

Accessibility Behavior

Common Mistakes

Why This Matters

Product images are often the most persuasive content on a product detail page. A blind shopper who receives no description of the currently displayed image — or who cannot navigate the gallery at all — is denied the same product information that sighted users take for granted. Inadequate live-region feedback means users must hunt through the page to confirm that navigation worked. Accessible image galleries give every user the ability to inspect a product from multiple angles, read each view's description, and make an informed purchase decision.

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