Support-Forum
Older Versions => jDownloads 3.2 => Bugs => Topic started by: UweS on 03.08.2018 13:45:46
-
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 (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
-
Hi
I confirm, Thanks for pointing out.
Colin
-
Bug is already there and a lot of work for every jDownload update...
-
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
-
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?
-
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.
-
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
-
Fixed and Closed in Version 3.2.66.
Thank you!