HiWhat are you using to check for WCAG compliance, which includes the alt item ?
I have been using WAVE from
https://wave.webaim.org/ available free for Firefox, Chrome (Google) and EdgeMy understanding is that alt="" is not compliant with WCAG
The relevant code is in the various default.php files in the "views" such as
\components\com_jdownloads\views\download\tmpl\default.php The actual content varies so the search would be for the
string alt="'.substr
there are about 20 instances.
For example in com_jdownloads\site\views\download\tmpl\default.php you will find
$this->itempic = '<img src="'.$file_pic_folder.$item->file_pic.'" style="text-align:top;border:0px;" width="'.$fpicsize.'" height="'.$fpicsize_height.'" alt="'.substr($item->title,0,-4).'" /> ';
Modifications of those sources are the basis of the overrides you will need
If you just want a blank in the alt then remove the section
'.substr($item->title,0,-4).'
to give, in this example,
$this->itempic = '<img src="'.$file_pic_folder.$item->file_pic.'" style="text-align:top;border:0px;" width="'.$fpicsize.'" height="'.$fpicsize_height.'" alt="" /> ';
If you wish to use the title then
$this->itempic = '<img src="'.$file_pic_folder.$item->file_pic.'" style="text-align:top;border:0px;" width="'.$fpicsize.'" height="'.$fpicsize_height.'" alt="'.$item->title.'" /> ';
Colin