[support] Image queries

Stuart Lawler stuart.lawler at visionline.ie
Sun May 4 21:49:33 UTC 2008


Dear Ivan,

> Then you said you were going to kill the link around the logo.
Why?

Simply because for a screen reader user, the word Link, will indicate that
the graphic will link to something else.  When we press enter on the link to
activate it, nothing happens, because of course, it doesn't, so it really
isn't necessary.

With regard to alt and title text, the Screen reader will read both, but alt
text, in the example you give below, would be spoken as well as title.

I'm not a developer though so I am going to pass your question on to a
friend who does this stuff every day, and will ask him to explain it
properly to you.

If I can ask you one final question for now.

The solution you gave me for killing the link and changing the alt text
worked perfectly, but now, I seem to have a heading1 with the site title and
right after it, a heading2 with the word Navigation.

With my screen reader, these show up on the same line, although I understand
that visually this may not be the case and they may well look fine.

Could you tell me why this might be occurring and how I might space them out
a bit more?

The site can be viewed at www.iscc.ie/test/

Kind regards,

Stuart.

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Ivan Sergio Borgonovo
Sent: 04 May 2008 22:20
To: support at drupal.org
Subject: Re: [support] Image queries

On Sun, 4 May 2008 21:38:54 +0100
"Stuart Lawler" <stuart.lawler at visionline.ie> wrote:

> Dear Ivan,
> 
> Many thanks for your help.
> 
> I'm not quite sure what lines to remove, or at least what to delete.

To remove the link change 

print '<h1><a href="'. check_url($base_path) .'" title="'.
$site_title .'">';

to

print '<h1>';

and

print $site_html .'</a></h1>';

to

print $site_html .'</h1>';

to change the alt/title of the logo if you're not willing to use the site
title change

print '<img src="'. check_url($logo) .'" alt="'. $site_title .'"
id="logo" />';

to

print '<img src="'. check_url($logo) .'" alt="somethingofyourchoice"
id="logo" />';

if you want to use the site_title change in in the Admin pages

> Finally, to answer your question, descriptive alt titles are always 
> good for screen readers.  The title is important too, but for images a 
> separate, more descriptive alt title is prefered.

Let me explain more clearly, I already add alt tags everywhere the image
should convey content and it is not there for layout or aesthetic reasons.

You may have
<a href="link" title="something1"><img src="path" alt="something2"
title="something3"></a>

If you're not blind you're going to see the image and just if you pass the
mouse over the image you'd see the title. That may be great for Search
Engines too... but I can immagine that if you're blind you've no choice
other than listening/feeling something1, something2, something3... that may
be a bit obnoxious if all you need is *one* description. Or maybe current
software will "show" just title over alt or alt over title etc... or just
the link title...

Still I think choices here can make the experience more enjoyable for blind
people. I'd just use the image alt that should describe the image and since
there is no text for not blind people it means that the image is enough
descriptive of where the link will take, adding the title to the link is
going to annoy people that have to "listen" to the page or read it through
braille.
But... I never had to use the web in such a way so I may be wrong.
What is the "right" choice?

Then you said you were going to kill the link around the logo.
Why?
I'd say it is a navigational help, but maybe it is just an hindrance if
you've to read the page differently.

--
Ivan Sergio Borgonovo
http://www.webthatworks.it

--
[ Drupal support list | http://lists.drupal.org/ ]




More information about the support mailing list