Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
$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.
Comment | File | Size | Author |
---|---|---|---|
noname.png | 16.72 KB | piotrsmykaj |
Comments
Comment #1
Agileware CreditAttribution: Agileware commentedalt 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.