Cloudinary Blog

Enhanced Accessibility for Cloudinary’s Product Gallery Widget

New Accessibility Features for Cloudinary’s Product Gallery Widget

Cloudinary’s Product Gallery widget, which launched in 2019, has enabled many brands to effectively and efficiently showcase their products in a sleek and captivating manner, saving countless hours of development time and accelerating release cycles. By adding Cloudinary’s Product Gallery widget with its customizable UI to their product page, retailers reap numerous benefits, often turning visitors into customers in short order.

Newly on deck are several enhancements to the widget’s accessibility, capped with a more wholesome, convenience-filled experience. Below is a summary.

Benefits of Accessibility

A core mission of Cloudinary is to deliver a fast, riveting web experience regardless of device, browser, or network speed. Gratifyingly, the barrier to accessing the internet on various devices is being lowered continually. Those devices have also become more robust with helpful features, which opens more access to the disabled.

By improving the accessibility of its Product Gallery widget, Cloudinary fulfills the needs of disabled visitors to e-commerce sites, affording those individuals an enjoyable shopping experience and helping grow retail revenue. Two examples:

  • A significant number of physically handicapped people cannot use a mouse device, relying exclusively on their keyboard instead.

  • The visually impaired must turn to assistive technology in order to access content. For those individuals, Cloudinary’s Product Gallery now enables keyboard accessibility, offers screen readers that support alt text, and features multiple zoom-in levels.

New Enhancements

The tutorial video below walks you through the accessibility-related enhancements for Cloudinary’s Product Gallery widget, followed by a summary of each of them.

Keyboard Accessibility

The accessibility layer, which is part of the basic configuration, supports these standard keyboard navigations:

  • Tab to navigate forward
  • Shift+Tab to navigate back
  • Enter to view or zoom in to an asset
  • Esc to stop zooming in
  • Spacebar to toggle between playing and pausing a video

The enhancements are tailored for users who must rely on the keyboard for navigation due to an inability to use a mouse device; and for the visually impaired, who decipher text by listening to a screen reader. We recommend the following configurations:

  • Classic view or multiple columns in an expanded view, the latter delivering a more prominent focus
  • With or without thumbnails
  • Zooming as a pop-up
  • Images and videos
  • Play and Pause as the only controls for video

Text Accessibility (Alt Text)

Subsequent to the widget’s June 2021 release, all Cloudinary product galleries feature alt text. By default, the widget adds a string to the alt text of each asset in the form of "Gallery asset n of m." Also, generation of alt text in the widget is now automatic, greatly enhancing accessibility for screen-reader users.

By way of background, alt text is an important feature for the following reasons:

  • In case an image fails to load, the related alt text is displayed.
  • Screen readers play the audio of alt text—a big help to the visually impaired.
  • Alt text raises your site’s search engine optimization (SEO) ranking by sending contextual image descriptions to search-engine crawlers. Indexing is easier for images with alt text. This feature goes hand in hand with the [keyboard accessibility](https://cloudinary.com/documentation/product_gallery#accessible_navigation enabled by the Product Gallery widget. That’s a tremendous boon for people with low vision and, concurrently, difficulties in seeing images and other digital elements.

We highly recommend that you populate alt text with contextual metadata. Alternatively, adopt a structured metadata key for your gallery assets. Make the wording clear and descriptive, especially since this text is also picked up by search engines, hence a key factor for SEO.

Note
Abide by this important tip on the length of alt text.

In addition, heed the following to ensure a captivating display:

  • Asset style (painting, photo, illustration, video, 360 view)
  • Placement of objects
  • Placement of text
  • Colors
  • Product material, textures, and styles
  • Food ingredients, flavors, and spices
  • Animals
  • Emotions, such as smiles
  • Surroundings

For more details, see the documentation.

Multilevel Zooming

The Product Gallery widget’s new multilevel capability for zooming offers, on demand, a detailed view of product images, displaying captivating specifics like fabric, stitches, fine lines, buckles, and gemstones.

With multilevel zooming, individuals with hampered vision, such as a restricted or distorted field of view, tunnel, or peripheral, can see your product gallery’s images clearly and interact with your site as desired.

The zooming pop-up offers several configurable levels, which are controlled through a click on the + or - buttons on desktop screens or a pinch on mobile devices. The simple configuration process includes options for the zooming factor and the number of zooming steps, as shown in this demo:

Note
For the best multiple-zooming experience, display high-resolution images capable of retaining the quality standard over a deep zooming.

Product Gallery in Action

Below are two demos on how to customize a product gallery with Cloudinary along with two live examples of well-designed and eye-catching galleries:

  • Customizable Product Gallery, a demo
  • Customizable Product Gallery with keyboard accessibility

Additional References

For the Cloudinary process through which to make your site fast and accessible, see this post.

For details on color accessibility, see this article.

We welcome suggestions on accessibility vis-a-vis the Cloudinary platform. Also, feel free to send us ideas on new features for our public roadmap.

Recent Blog Posts

Our $2B Valuation

By
Blackstone Growth Invests in Cloudinary

When we started our journey in 2012, we were looking to improve our lives as developers by making it easier for us to handle the arduous tasks of handling images and videos in our code. That initial line of developer code has evolved into a full suite of media experience solutions driven by a mission that gradually revealed itself over the course of the past 10 years: help companies unleash the full potential of their media to create the most engaging visual experiences.

Read more
Direct-to-Consumer E-Commerce Requires Compelling Visual Experiences

When brands like you adopt a direct–to-consumer (DTC) e-commerce approach with no involvement of retailers or marketplaces, you gain direct and timely insight into evolving shopping behaviors. Accordingly, you can accommodate shoppers’ preferences by continually adjusting your product offering and interspersing the shopping journey with moments of excitement and intrigue. Opportunities abound for you to cultivate engaging customer relationships.

Read more
Automatically Translating Videos for an International Audience

No matter your business focus—public service, B2B integration, recruitment—multimedia, in particular video, is remarkably effective in communicating with the audience. Before, making video accessible to diverse viewers involved tasks galore, such as eliciting the service of production studios to manually dub, transcribe, and add subtitles. Those operations were costly and slow, especially for globally destined content.

Read more
Cloudinary Helps Minted Manage Its Image-Generation Pipeline at Scale

Shoppers return time and again to Minted’s global online community of independent artists and designers because they know they can count on unique, statement-making products of the highest quality there. Concurrently, the visual imagery on Minted.com must do justice to the designs into which the creators have poured their hearts and souls. For Minted’s VP of Engineering David Lien, “Because we are a premium brand, we need to ensure that every single one of our product images matches the selected configuration exactly. For example, if you pick an 18x24 art print on blue canvas, we will show that exact combination on the hero images in the PDF.”

Read more
Highlights on ImageCon 2021 and a Preview of ImageCon 2022

New year, same trend! Visual media will continue to play a monumental role in driving online conversions. To keep up with visual-experience trends and best practices, Cloudinary holds an annual conference called ImageCon, a one-of-a-kind event that helps attendees create the most engaging visual experiences possible.

Read more