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]( 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.

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:

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

Create Lightweight Sites With Low-Code and No-Code Technology

Consumers expect modern websites to be mainly visual. But, the more compelling and complex the related media is, the more data is involved, compounding the site’s weight. In today’s content-craving world, delivering unoptimized media can cost you because it leads to sluggish page loads, resulting in visitors abandoning your site in search of a faster alternative. In fact, a page load that takes more than three seconds can cause as many as 40% of your visitors to bounce. Given this competitive, digital-first environment, you can’t afford to lose page views, for time is of the essence.

Read more
A Blueprint for AWS-Secured Webhook Listeners for Cloudinary

tl;dr: An AWS-secured and optimized Cloudinary webhook listener for extending the Cloudinary service

Code: Github

A webhook is a communication medium for sending notifications from one platform to another about events that occurred. In place are user-defined HTTP callbacks that are triggered by specific events. When a triggered event takes place on the source site, the webhook listens to the event, collects the data, and sends it to the URL you specified in the form of an HTTP request.

Read more
Why Successful Businesses Engage With and Convert Audiences With Visual Media

Most business buyers prefer to research purchase options online, as do many shoppers. No wonder online retail sales in the U.S. rose by 32.4% in 2020—an impressive gain of $105 billion.

For B2B and B2C businesses, text-heavy websites are no longer adequate in attracting shoppers. Instead, engaging visual media—spin images, videos, 3D models, augmented reality—are becoming a must for conveying eye-catching details and differentiators about products or services.

Read more
Making User-Generated Content (UGC) Shoppable With Cloudinary

User-generated content (UGC) is a powerful marketing tool. Not only does video complement marketing efforts for e-commerce by enabling customers to explore products in greater detail, but UGC also adds an element of trust. As a bonus, user-generated video is an exceptional opportunity for e-businesses to attract website traffic without their marketing team having to create promotional videos from scratch. User-generated content drives conversions and brand loyalty as a direct result of authentic interaction.

Read more
Cloudinary Joins The MACH Alliance

As expectations of websites and apps continue to grow, there is more pressure on brands to deliver new and innovative ways to reimagine their digital experience.

The challenge is many companies lack the systems and platforms to stay competitive in this digital revolution and keep up with modern technology. To stay one step ahead, brands have to continuously evolve their martech stack. However this is easier said than done. As marketing, developer, and creative teams look for new solutions they often end up down a rabbit hole. What starts off as an exciting investment to embrace a new technology, system or platform ends up turning into a complicated process and once the dust settles, teams often realize the limiting capabilities of investing in a single vendor.

Read more