Implemented Add a title + alt option to images

Stuart Wright

Well-known member
Google likes ALT tags. And we like TITLE tags.
So how about adding a title option to the the standard BB code for IMG to, for example...
Code:
[img title='This is a photo of a naked lady']url of image[/img]
which would insert the HTML for the ALT and the TITLE to be the given title text.
Also maybe add the Tooltip class so the title text pops up nicely?
 
Last edited:
Upvote 39
This suggestion has been implemented. Votes are no longer accepted.
I don't see users using this feature (they couldn't care less what an alt/title tag does) but we could definitely utilize it to programmatically add alt tags to pics.

The XF insert img dialog box could even be altered to have an image description field, which, when the bbcode is rendered, could stick the entered image description under the pic (or above), in addition to adding it as the alt/title tag, so the user could see a visible effect of using it.
 
Not really, you could simply hide the extra fields behind a non-intrusive link or button. Kind of like the 'Set all titles and descriptions' in the current gallery. Then only those who want to use it can access it.

I think this should also be how the polls creation info should be hidden on the 'Post new thread' page considering how little it gets used on most forums.



alt tags (1).gif
 
Would it be possible to add ALT tag in Xenforo for image use so that other add-ons as well. The use of the ALT tag is not only for example Google (Examples below) but also a aid for systems that can't show images or systems for visually impaired to know what the image is about. So this function would improve not only for people that have a sight problem but also Google for example.

Some reading stuff:

https://googlewebmastercentral.blogspot.nl/2007/12/using-alt-attributes-smartly.html

https://yoast.com/image-seo-alt-tag-and-title-tag-optimization/ This one is great reading why it should be done from SEO standpoint and visually impaired standpoint.
 
Would it be possible to add ALT tag in Xenforo for image use so that other add-ons as well. The use of the ALT tag is not only for example Google (Examples below) but also a aid for systems that can't show images or systems for visually impaired to know what the image is about. So this function would improve not only for people that have a sight problem but also Google for example.

Some reading stuff:

https://googlewebmastercentral.blogspot.nl/2007/12/using-alt-attributes-smartly.html

https://yoast.com/image-seo-alt-tag-and-title-tag-optimization/ This one is great reading why it should be done from SEO standpoint and visually impaired standpoint.
I've merged the threads now.

Should this ever be implemented, this is worth considering.
 
We recently got a suggestion from a user who users a screen-reader to allow for "alt" and "title" text on images on our forum. It would benefit Xenforo to add this feature, and it would benefit Xenforo users because:
  • Users of screen-readers rely on alt-text to know what an image contains.
  • Search engines will penalize pages that contains images without alt text, and the default alt text of would be considered irrelevant to content.

    I support this suggestion
 
Top Bottom