Jump to content

No alt attributes for images from blockreassurance


Tomi14

Recommended Posts

When I run PageSpeed Inights it says I have no alt text for images from blockreassurance.

This is how my original  blockreassurance.tpl looks:

Quote

{if $elements}
    <div id="block-reassurance">
        <ul>
            {foreach from=$elements item=element}
                <li><img src="{$element.image}" alt="{$element.text|escape:'quotes'}"/> <span>{$element.text}</span></li>
            {/foreach}
        </ul>
    </div>
{/if}


How to fix it?

seo.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...