The reason is, there is simply no alt-attribute on each img-tag, an embarrassing error. This issue breaks also the W3C HTML validation rules. It would be cool, when it will be fixed with the next update. Thanks in advance.
-
This reply was modified 8 years, 10 months ago by
neralex.
I found a way to fix it.
open ‘includes/class-foogallery-attachment.php’ and find:
if ( ! empty( $this->alt ) ) {
$attr['alt'] = $this->alt;
}
replace it with:
# fixed: validation issue - missing alt-argument
if ( ! empty( $this->alt ) ) {
$attr['alt'] = $this->alt;
} else {
$attr['alt'] = '';
}
# added: set title-argument
if ( ! empty( $this->title ) ) {
$attr['title'] = $this->title;
}
-
This reply was modified 8 years, 10 months ago by
neralex.
-
This reply was modified 8 years, 10 months ago by
neralex.
That worked. Thanks! Definitely agree this needs to be fixed in the next version.
-
This reply was modified 8 years, 10 months ago by
ccompton.