Description in alt tag


#1

It would be nice to see the description in the alt when you hover on the image


#2

Sometimes large descriptions can annoy people browsing the gallery.

Am leaving this open for voting.


#3

It would only show when they roll over the image.


#4

This could also be added by overriding the rtMedia templates.


#5

Isn't it the title attribute (not the alt attribute) that shows on hover?


#6

yes - that is what i meant...I'm not developer.


#7

@henrywright - You are right. I must have got it confused with title.

@constructionwork - Sorry for the misunderstanding here. Looks like a good suggestion.

But whats debatable here is whether it should contain the title or the description.


#8

well the title is already displayed below the image normally and also in title tag when you hover the title so i don't think we need it there also.


#9

@joshuaabenazer @constructionwork I did a little bit of work on this before

The alt attribute seems to be used for accessibility purposes. Visually impaired people use screen readers which read out the alt text.

The title attribute seems to be used to add additional information to the element, information that isn't already conveyed to the user


#10

I guess the image description would be apt for this and incase there is no description it would fallback to title.


#11

@joshuaabenazer - Or just don't have a tag at all if there is no description - leave it without anything...the title is already displayed as text below the image and again on hover of that title text (title = name of image).


#12

As already mentioned by Henry here -> http://rtcamp.com/groups/rtmedia/forum/topic/description-in-alt-tag-2/#post-45384. Hence the title fallback seems neat.


#13

OK.


#14

Update: The alt attribute for image was added in version 3.2.11


#15