Commit 971fa738 authored by Kristina Hoeppner's avatar Kristina Hoeppner

Add alt and title tag for blocks (Bug #1218684)

IE only picks up the alt and not the title
tag. I added both so that users will see the
description.

Change-Id: I2f1c9342363d3372e5aa1549da7fcfc3086177b1
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent f5cebdef
......@@ -6,7 +6,7 @@
<div class="blocktype">
{* The width and height are required so that the javascript that places the clones knows how
big it should make itself. Talk to Nigel before changing this *}
<img src="{$blocktype.thumbnail_path}" alt="{str tag='Preview' section='view'}" width="73" height="61">
<img src="{$blocktype.thumbnail_path}" title="{$blocktype.description}" alt="{$blocktype.description}" width="73" height="61">
<h4 class="blocktype-title js-hidden">{$blocktype.title}</h4>
<div class="blocktype-description js-hidden">{$blocktype.description}</div>
<input type="{if $javascript}hidden{else}radio{/if}" class="blocktype-radio" name="blocktype" value="{$blocktype.name}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment