I just noticed that the Stack Overflow logo image alt text is "logo homepage".

The W3C WCAG 1.0 guidlines state that every non text element should contain a text equivalent. This isn't very specific but I would have thought that at least the word "Stack Overflow" should appear in the alt text somewhere, seeing as the image does contain that text.

Maybe the alt text should be "Stack Overflow logo"?

  • 4
    Where is the turtle? – random Aug 14 '09 at 11:36
  • @random: what? – user133653 Aug 14 '09 at 12:15
  • 2
    LOGO is a programming language where you move the turtle around the screen to draw pictures. – Brad Gilbert Aug 14 '09 at 15:08

I'm sighted, but for what it's worth, "stackoverflow logo" makes more sense to me than "logo homepage".

Is the word "homepage" there to indicate that clicking it goes to the homepage? I already expect that clicking on the logo will bring me back to the homepage, and I'd probably have developed the same expectation if blind so, if my reader tells me that the first link is "stackowverflow logo", I'd expect that clicking it would bring me to the stackoverflow page.

| improve this answer | |
  • 1
    Personally, I'd prefer the alt text to be "[site] homepage", as then the resulting link text reads as, say, "Stack Overflow homepage" which is an accurate description of what is being linked to. – Rowland Shaw Aug 14 '09 at 12:32

The fact that it's a logo is likely of very little interest to a non-sighted user. All they need to know is whatever information the image conveys. In effect, it's conveying the main heading of the site, which is not present in any text. Therefore, alt="stackoverflow" (or alt="stack overflow") is probably most appropriate.

@redtuna: I believe that the fact that there's a link wrapped around the logo, which links to the home page, should be communicated via the title of the link. This information is specific to the link, not the image.

| improve this answer | |
  • FWIW, I notice that this is actually what's been implemented :) – Bobby Jack Jan 22 '10 at 13:29
  • Regarding your last paragraph: Note that for an image-only link the alt of the img element should describe the link target, not the title of the a element (details). – unor Jul 23 '16 at 23:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .