Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Accessibility (WCAG compliance)

More
7 months 1 week ago #76391 by Aks
Dear Cedric,

I've been reviewing a bit the accessibility (WCAG) compliance of the website at eume.upf.org . In many articles, I display a slideshow of photos taken from a Flickr album. The images descriptions are displayed as captions. The Joomla WCAG compliance tester is complaining that these images do not have an "alt text". Is there any way I can cause these images to have an "alt text", which could also be the image description. 

Thanks,

Alan

Please Log in or Create an account to join the conversation.

More
7 months 1 week ago #76392 by ced1870
Hi
The images shown in the slideshow have an alt tag
Please give me the url of the page and the image concerned by the warning so that I can check
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 months 1 week ago - 7 months 1 week ago #76393 by Aks
Replied by Aks on topic Accessibility (WCAG compliance)
Thank you Cedric.

Here is an example of a page:

eume.upf.org/what-we-do/conferences/ocs/...ower-of-storytelling

I should mention that I have some CSS which allows me to display the caption, but not the title, in case this affects anything.
Last edit: 7 months 1 week ago by Aks.

Please Log in or Create an account to join the conversation.

More
7 months 1 week ago #76394 by ced1870
The CSS are never affecting the alt tag which is included in the source code, nothing to do with the caption or title

The image has this html code for example :
Code:
img src="https://live.staticflickr.com/xxx/yyyy3917b_o.png" class="imgLoaded" style="visibility: visible; height: 448.758px; margin-left: 0px; margin-right: 0px; margin-top: 6.621px; position: absolute; width: 963px;" data-alignment="" alt="Dr Sangita Swechcha, Chair of IAACP UK."

as you can see, there is an alt tag
the problem that you encounter is probably due to the fact that the images are loaded dynamically using Javascript, and it's created when the image is shown for the first time in the slidehow. Before that, the image does not exists, this is made to reduce the loading time

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 months 4 days ago #76421 by Aks
Replied by Aks on topic Accessibility (WCAG compliance)
Dear Cedric,

Thanks for your explanation. Sorry for my lack of understanding. This is the first time I am looking at the issue of "accessibility".

Another problem that I seem to have is that the "aria-label" for the thumbnails under the images (at least with pagination) is something like "show slide 1", etc. Is there any way that I could make the "aria-label" be, say, the description of the image?  Perhaps I have something set up wrong? 

Many thanks,

Alan

Please Log in or Create an account to join the conversation.

More
7 months 3 days ago #76424 by ced1870
This is the default text, because it's like a button that does an action. It's not a descriptive image.
Imagine : the thumb is a button >> when you click it, it shows the slide 1 >> the slide 1 is an image with its own description

the image in the thumb is not used as an image for illustration
Hope it helps

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 769 guests and 5 members online