Accessible Image Thumbnails

Gallery of Images: Happy People from Our Company Event

Developer: Put explicit user instructions here, such as: "click a thumbnail to download images" or "click an image thumbnail to view image options."

developer notes

  1. by using the UL/LI html structure, these items have been grouped properly. If another HTML structure was used, additional roles would need to be added.
  2. I have not used the 'title' attribute here, because 'title' has spotty support with assistive technology(AT).
  3. While testing with NVDA + Firefox on Windows, I see that two different methods seem to mostly convey the same information:
    • Method One:
      • Add aria-label on the link, leaving the image alt blank and adding role="presentation" to the img element.
      • Screenshot of how this reads out on NVDA + Firefox (Windows) for the first image: thumbnail of photo 001 from our company event graphic link
    • Method Two:
      • Add all of the information to the image's alt tag.
      • Screenshot of this method on the second image: thumbnail of photo 002 from our company event link
  4. This example assumes the following:
    • The aria-label/alt text will be dynamically generated and added with some sort of concatenated string.
    • the images will have been batch processed for consistency