Thanks all for the comments. I wondered what tooltip was all about but 
couldn't see anything to describe what it is or how to use it... but I 
probably didn't look in the correct place. I have to admit I wasn't aware 
of the difference between alt and title but glad to know that.

Take care,

Anthony

On Wednesday, 25 November 2020 at 19:42:17 UTC [email protected] wrote:

> It's worth noting this isn't a TiddlyWiki thing, it's a general web thing. 
> The alt text is a replacement for the image when it's not available (thus 
> the word *alt*ernate), while the title text is a supplement to it 
> providing more information. People often get confused and use the wrong 
> one, partly because some browsers way back in the dark ages used to show 
> the alt text when you hovered over an image.
>
> More: https://blog.spotibo.com/difference-between-alt-text-and-title-text/
>
> On Wednesday, November 25, 2020 at 1:13:16 PM UTC-6 Javier Rojas wrote:
>
>> On Wed, Nov 25, 2020 at 09:35:25AM -0800, Anthony wrote:
>> > So, I now have
>> > 
>> > <$image source={{A!!structure_file}} alt={{A!!title}} />
>> > 
>> > which I expected to would give the title of Tiddler A when the mouse 
>> > hovered over the image (much as would occur with [img[description of 
>> > file|folder/file.png]]). However, I note that the alt text only appears 
>> if 
>> > the file is not found.
>> > 
>> > Is this the expected behaviour and is it possible, using $image, to 
>> produce 
>> > the 'hover-over' text.
>>
>> I think you should use the `title` attribute, instead of `alt`, which,
>> as you say, is the text shown when the image is not available.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d53258b1-7864-4cb2-b9dc-b8c67d388763n%40googlegroups.com.

Reply via email to