News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

No "alt" tag

Started by UweS, 03.08.2018 13:45:46

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

UweS

Hello!

I have a problem with the file_pic. There is no alt tag set for the file image. I include the download with {jd_file file==xxx} in my article. (Example: https://www.csm.de/de/produkte/can-minimodule/19-can-admm)

In the download area there is set the file name as alt text.

Thx
  •  

ColinM

Hi
I confirm, Thanks for pointing out.
Colin
Colin M
  •  

UweS

Bug is already there and a lot of work for every jDownload update...
  •  

ColinM

Hi
Thanks for the reminder!  Adding in the code to include an alt= is surprisingly quite complex but I will ask for it in the new jD3.9 series.
Colin
Colin M
  •  

Arno

Please note that in this case the image is only for decoration.
In my opinion it is not really important to fill out here the alt tag. Or not?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

UweS

#5
Hi,

SRC and ALT are required for IMG in html. There are a lot of alerts in my SEO Tool too. :)


Quick fix for my records and twimc:

plugins / content / jdownloads / jdownloads.php

Line: 846,915,927,1634,1665,1674 search for alt=" " and set to  alt="'.$files[$i]->file_pic.'"



an other possibility would be to set the alt tag to alt="" (NULL) for accessibility. (https://www.w3.org/WAI/tutorials/images/decorative/) The whitespace is the problem.
  •  

Arno

#6
Hi,excuse me but I cannot find any alt tag with a space (like alt=" ").

But I will add the filename in the next version.

Edit:also this is not correct:

$files[$i]->file_pic
it should be:
$files->file_pic
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

UweS

Fixed and Closed in Version 3.2.66.

Thank you!
  •