Why this wireframe works | Thumbnail gallery
Many photos without a long page
Only one large photo is shown, with the others small beneath, so many photos can be viewed without lengthening the page.
Which photo is current, by border and count
The thumbnail of the current photo has a thick border and aria-current, and the count “1 / 6” sits under the large photo.
The caption changes with the photo
The caption under the large photo is rewritten each time the photo changes, so what the photo shows is conveyed with it.
Previous and next buttons, and the keyboard
“Previous” and “Next” buttons sit either side of the large photo, and ← → move through the photos too. On mobile the thumbnails sit in a row that can be scrolled by finger.
Common mistakes | Thumbnail gallery
Thumbnails with no button name
A button that is only a small photo is not described by screen readers. Name it by content and action, such as “Show the entrance photo”.
Mixed ratios that change the height on every switch
When photo ratios differ, the large photo’s height changes with each switch and the information beneath jumps. Fix the frame’s ratio and fit the photos inside it.
Photos that switch automatically
Automatic switching changes the photo while the reader is still looking. Leave switching to the reader.
No way to enlarge the large photo
Readers who want detail may find even the large photo too small. One approach is to enlarge it over the screen when pressed (see the lightbox).
FAQ | Thumbnail gallery
Thumbnails below or beside the large photo?
Below for landscape photos and beside for portrait ones keeps more room for the large photo. On mobile, below is the norm either way.
Should all the photos load up front?
Loading every large photo up front slows the page. Load the first large photo and the thumbnails, and fetch the other large photos when chosen.
How many thumbnails?
Six to eight in one row is a comfortable guide. Beyond that, make the row scroll sideways as on mobile, or reduce the photos.







