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/978ead26-3598-4f7a-b27a-c4ed26130b83n%40googlegroups.com.

Reply via email to