Post by neil » Mon Dec 05, 2016 9:54 pm

Hi we are trying to pass the W3C validation check but are getting several errors including this one does anyone know how to fix?

Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
From line 445, column 990; to line 445, column 1100
rder:0;"> <img src="http://www.angliaclipperservices.com/im ... 0x480r.jpg" style="width: 100%"/> </a>

New member

Posts

Joined
Wed Aug 04, 2010 7:06 pm


Post by scf8127 » Tue Dec 06, 2016 12:13 am

<img src="http://www.angliaclipperservices.com/im ... 0x480r.jpg" style="width: 100%"/> </a>

replace you tag with

<img src="http://www.angliaclipperservices.com/im ... 0x480r.jpg" alt="blades-logo" style="width: 100%"/> </a>

Newbie

Posts

Joined
Tue Nov 15, 2016 11:37 am

Post by neil » Tue Dec 06, 2016 3:38 pm

Brilliant thanks where do I find that?

New member

Posts

Joined
Wed Aug 04, 2010 7:06 pm


Post by neil » Wed Dec 07, 2016 6:14 pm

So I found the template I believe to be in control of this (correct me if im wrong please)

catalog/view/theme/default/template/module/slideshow.tpl

but there is already the alt command there?

<div><a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></a></div>

New member

Posts

Joined
Wed Aug 04, 2010 7:06 pm

Who is online

Users browsing this forum: No registered users and 4 guests