$output = '<span class="sw-hidden">' . $text . '</span>' . theme('image', $imgsrc, $alttext, $alttext, $attributes);

I think $alttext as title attribute is not a good idea because on hover signwriter image we are seeing a bubble over our signwriter image.

CommentFileSizeAuthor
noname.png16.72 KBpiotrsmykaj
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Agileware’s picture

Status: Active » Fixed

alt text is used for screen readers and things and is necessary for accessibility.

title text is the hover text.

There is now an option on the profile edit page (admin/settings/signwriter/profile/[profile-id]) 'Use image title text' which is turned off by default.
Only if it is checked will title text be added.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.