1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add a title + alt option to images

Discussion in 'XenForo Suggestions' started by Stuart Wright, Oct 13, 2014.

  1. Stuart Wright

    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...
    [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: Oct 13, 2014
    Kerby, empire, Kevin and 33 others like this.
  2. Aangiix3

    Aangiix3 Member

    Good idea. Has this been implemented yet?
  3. Amaury

    Amaury Well-Known Member

  4. LocknReload

    LocknReload New Member

    Currently hasn't been implemented :(
  5. thedude

    thedude Well-Known Member

    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.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    That would be a simple enough add-on to develop.
  7. Mr Lucky

    Mr Lucky Well-Known Member

    Maybe not, but it would be good if admins could make it compulsory to add a description and/or title
  8. imthebest

    imthebest Formerly Super120

    Not in the core, it will make things more complicated for newbies... no thanks.
  9. RobinHood

    RobinHood Well-Known Member

    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
    Shiro likes this.
  10. Anton_Bodryachkom

    Anton_Bodryachkom Active Member

    Would be great , if alt tag autoadded from Thread keyword... is it possible ( only when user adding pix as attachment ) ?
  11. we_are_borg

    we_are_borg Active Member

    Would be great to have an alt tag on images.
  12. zastavra

    zastavra Formally Stevez

    It would be good for embedded images too.
  13. Mert

    Mert Well-Known Member

    Agreed it is important to have alt tags within images
  14. we_are_borg

    we_are_borg Active Member

    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://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.
    sami simo and thomas1 like this.
  15. Martok

    Martok Well-Known Member

  16. we_are_borg

    we_are_borg Active Member

    sami simo likes this.
  17. Chris D

    Chris D XenForo Developer Staff Member

    I've merged the threads now.

    Should this ever be implemented, this is worth considering.
  18. we_are_borg

    we_are_borg Active Member

    @Chris D Thank you. I hope this get implemented asap its good for SEO and a must for people that need the alt tag for their readers.
    Last edited: Jan 10, 2016
  19. JamesBrown

    JamesBrown Well-Known Member

  20. Shiro

    Shiro Well-Known Member

    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

Share This Page