E-mail List Archives
Gallery with expanded Images on Click
From: wolfgang.berndorfer
Date: Mar 23, 2021 12:04PM
- Next message: Christine Hogenkamp: "The importance of landmarks to screen readers?"
- Previous message: Vemaarapu Venkatesh: "Need WCAG2.1 notes for beginners in docx format"
- Next message in Thread: glen walker: "Re: Gallery with expanded Images on Click"
- Previous message in Thread: None
- View all messages in this Thread
How to optimize an image gallery with functionalities to magnify each image?
1. Each image in the gallery magnifies the image on click and sets the focus
back to the image when ESC is pressed. So, the trigger with the image is
rather a button than a link.
2. The triggers must be embedded in a list so that a SR user gets an idea of
the number of items.
Now my questions:
A) Alt-Text:
Is the semantic of a button enough to describe the functionality or should
the alt-text get some adjacent prefix/suffix to the description of the
image?
Examples: alt="Angry dog" / alt="Magnify: Angry dog" / alt="Angry dog |
Click magnifies image"
B) ARIA
Is there an aria-attribute available which covers the functionality? Didn't
find anyone convincing.
And what, if in the magnified status of any image, arrow-left/right lead to
the next image in a magnified status?
Thanks for ideas and best practice examples!
Wolfgang
- Next message: Christine Hogenkamp: "The importance of landmarks to screen readers?"
- Previous message: Vemaarapu Venkatesh: "Need WCAG2.1 notes for beginners in docx format"
- Next message in Thread: glen walker: "Re: Gallery with expanded Images on Click"
- Previous message in Thread: None
- View all messages in this Thread