Submit Your Article Forum Rules

Page 6 of 6 FirstFirst ... 456
Results 51 to 58 of 58

Thread: Different Image Alt tags for the same image across site

  1. #51
    WebProWorld MVP morestar's Avatar
    Join Date
    Jun 2007
    Location
    Toronto, Ontario (Burlington)
    Posts
    4,259

    Re: Different Image Alt tags for the same image across site

    Quote Originally Posted by weegillis View Post
    I tend to disagree with this implementation of 'alt.' In its stripped down form, it is only placeholder text that describes the object destined for that place. The functional aspects belong to the title attribute, in my view, since it is implicitly a 'header' for the target action, a precursor to the branch. It does not describe 'what is' as much as 'what will be.'
    So what would be your approach to assigning values to the alt and title attributes of say, the Logo image in a header block?
    Join a free dating site and meet single people in your area.
    Submit your content at my content publishing site and promote your business, services or opinions.

  2. #52

  3. #53
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,823

    Re: Different Image Alt tags for the same image across site

    Quote Originally Posted by morestar View Post
    So what would be your approach to assigning values to the alt and title attributes of say, the Logo image in a header block?
    By my current way of thinking, it would not read, "Logo." Here I am forced into contradicting myself, since my answer goes directly in the direction deepsand earlier referred to, the action. For a logo in the header with a link pointing to the Home page, I'd opt for simply alt="Home" title="Home". But if there is no link, alt="".

    There's the rub with alt and title, the gray area leaves so much room for conflicting interpretation. Even the browser makers can't agree. Where does that leave us?

    Gaming the system by using the alt attribute for SEO is creating a new paradigm for usage, but I think we are all better off to stay as close to the W3C spec and the WCAG recommendation as possible. Use alt to describe the image (or cite the text in the image), longdesc to provide substantive information with direct reference to the image, and title to describe the action and / or target of an actionable object.

  4. #54
    WebProWorld MVP morestar's Avatar
    Join Date
    Jun 2007
    Location
    Toronto, Ontario (Burlington)
    Posts
    4,259

    Re: Different Image Alt tags for the same image across site

    So in essence it would be right to format a linked img tag as follows?

    Code:
    <a href="thisplace.com">
       <img src="http://www.webproworld.com/images/mylogo.gif" alt="Logo" title="My Site Homepage" longdesc="Click here to get to my homepage" />
    </a>
    Join a free dating site and meet single people in your area.
    Submit your content at my content publishing site and promote your business, services or opinions.

  5. #55
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,823

    Re: Different Image Alt tags for the same image across site

    The title attribute might better serve its purpose by being placed in the anchor tag, instead. In this case, I would set alt="".

    "My Site Homepage" is a little more wordy than "Home", which most users are familiar with.

    The value for longdesc must be a url as in, longdesc="mount-rushmore.html".

    Addendum:
    going in circles, again...
    Related Post: http://www.webproworld.com/webmaster...tml#post445510

    It would seem that my testing produced results that conclude the title attribute on the image is the one everyone will see. If it is on the anchor, then it has to be completely removed from the image.

    For all parties concerned,
    HTML Code:
    <a href="#" title="target or target page title"><img src="" alt="" title="Home" width="" height="" /></a>
    everyone should see "Home" in the tool tip.

  6. #56
    Senior Member deepsand's Avatar
    Join Date
    May 2004
    Location
    State College, PA
    Posts
    16,660

    Re: Different Image Alt tags for the same image across site

    Quote Originally Posted by weegillis View Post
    Use alt to describe the image (or cite the text in the image), longdesc to provide substantive information with direct reference to the image, and title to describe the action and / or target of an actionable object.
    A small adjustment, if you will.

    For images which are active, the longdesc attribute should be used to convey information relating to the actionable nature of the image.

    From the cited demo :

    • alt = "Get mail button"
    • longdesc = "click to download new mail"

  7. #57
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,823

    Re: Different Image Alt tags for the same image across site

    LINK: Objects, Images, and Applets in HTML documents
    longdesc = uri [CT]
    This attribute specifies a link to a long description of the image. This description should supplement the short description provided using the alt attribute. When the image has an associated image map, this attribute should provide information about the image map's contents. This is particularly important for server-side image maps. Since an IMG element may be within the content of an A element, the user agent's mechanism in the user interface for accessing the "longdesc" resource of the former must be different than the mechanism for accessing the href resource of the latter.
    The resource at the other end of the link contains the substantive information, not the attribute.

    Addendum:
    Support of this attribute is spotty, and typically, the same url is used in an accompanying link, with link text "d." or "D."

  8. #58
    Senior Member deepsand's Avatar
    Join Date
    May 2004
    Location
    State College, PA
    Posts
    16,660

    Re: Different Image Alt tags for the same image across site

    The point being what?

Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. tags in non-image images
    By Silverback in forum Search Engine Optimization Forum
    Replies: 8
    Last Post: 06-14-2009, 09:27 PM
  2. Image ALT tags with an image name
    By dlamar in forum Search Engine Optimization Forum
    Replies: 9
    Last Post: 05-20-2009, 08:09 AM
  3. Replies: 0
    Last Post: 06-07-2008, 01:08 AM
  4. Using different <alt> tags for the same image on dif.
    By web-content-king in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 02-04-2005, 12:06 AM
  5. alt image tags
    By pne in forum Search Engine Optimization Forum
    Replies: 11
    Last Post: 07-25-2004, 02:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •