473,322 Members | 1,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Image maps and area alt text

I have a simple question about the alt content of area elements
within an image map: is it redundant to include phrases such as
"link to..." or "jump to..."? My initial thought is 'yes', since
the area element implies a link to some other item or page location,
but would like to hear what others think.

If it helps at all, the page which prompted me to ask the question
is this one:

http://www.chem.utoronto.ca/courseno...s/summary.html

Be warned, however, that many of the actual links don't work yet;
I'm overhauling both the content and appearance of the original site,
and this is the parallel development version.
Jun 14 '07 #1
6 4720
David Stone wrote:
I have a simple question about the alt content of area elements
within an image map: is it redundant to include phrases such as
"link to..." or "jump to..."?
Ask yourself: what would you use if there were no image, just plain text
links?
http://www.chem.utoronto.ca/courseno...s/summary.html
Boy, I hope the users of this page have really good eyesight. It's
illegible to me.

--
Berg
Jun 14 '07 #2
Scripsit Bergamot:
David Stone wrote:
>I have a simple question about the alt content of area elements
within an image map: is it redundant to include phrases such as
"link to..." or "jump to..."?

Ask yourself: what would you use if there were no image, just plain
text links?
You could also view the page on Lynx, for example, which initially shows
(for the given page) "concept map" in place of the image. When selecting
(with the tab key and the enter key), this text - the alt text of the entire
image - acts in a link-like manner, opening a menu:

1. jump to
2. degrees of freedom
3. 1 or 2 tailed tests
4. jump to
5. t-test of 1 mean
etc.

So the answer is that "jump to" is redundant, and this is bad, because the
texts would have to be rather long anyway, and any extra words make it more
difficult to read them.

But the crucial question is what the alt texts are for and what they
contain. In an image map, the alt attribute should specify a textual
alternative to the _area_, not to the document that it links to. This is at
least the reasonable interpretation of the specification, which is somewhat
vague about alt attribute semantics. Thus, if an area content were the
formula "v = n", then it should have alt="v = n", no matter what the href
attribute points to.

Beware that alt attributes in area elements are poorly supported in graphic
browsers; see my page
http://www.cs.tut.fi/~jkorpela/html/mapalt.html
(fairly dated, but probably still the most extensive study of the issue).

So it might be a good idea to include a link to an alternative page that
contains the list of links without images.

Actually, I'm afraid that it is far from evident that there is something
clickable on screen when there's a client-side image map. There's nothing
that suggests such behavior, unless you start moving around the page with
the mouse and look at the status line or notice the "tooltips", if
displayed. If the texts on the left were blue with underlining, i.e. would
_look_ like links, it would be a different matter.
>http://www.chem.utoronto.ca/courseno...s/summary.html

Boy, I hope the users of this page have really good eyesight. It's
illegible to me.
Fair comment, but the image is already so wide that it's difficult to make
it fit on printing. (And it's something that users might really want to
print.) It's not very readable even on zooming, since the texts get rather
blurred.

It would be somewhat more readable if the image were reconstructed so that
the texts in it are in some sans-serif font - this might be a job for
Verdana, despite the fact that normal mathematical style doesn't use it.

I like the idea of using an image map this way, but I'm afraid that the poor
behavior of browsers makes this doubtful.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jun 14 '07 #3
In article <4F******************@reader1.news.saunalahti.fi >,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit Bergamot:
David Stone wrote:
I have a simple question about the alt content of area elements
within an image map: is it redundant to include phrases such as
"link to..." or "jump to..."?
Ask yourself: what would you use if there were no image, just plain
text links?

You could also view the page on Lynx, for example, which initially shows
I hadn't thought of that, largely as I've never used it. It should be
possible to install it, though, since I'm using Mac.
(for the given page) "concept map" in place of the image. When selecting
(with the tab key and the enter key), this text - the alt text of the entire
image - acts in a link-like manner, opening a menu:
[snip]
So the answer is that "jump to" is redundant, and this is bad, because the
texts would have to be rather long anyway, and any extra words make it more
difficult to read them.
Well, that clears up one thing!
But the crucial question is what the alt texts are for and what they
contain. In an image map, the alt attribute should specify a textual
alternative to the _area_, not to the document that it links to. This is at
least the reasonable interpretation of the specification, which is somewhat
vague about alt attribute semantics. Thus, if an area content were the
formula "v = n", then it should have alt="v = n", no matter what the href
attribute points to.
Hmm. That's not quite how I interpreted section 13.6.1:

User agents and authors should offer textual alternates to graphical
image maps for cases when graphics are not available or the user
cannot access them. For example, user agents may use alt text to
create textual links in place of a graphical image map. Such links may
be activated in a variety of ways (keyboard, voice activation, etc.).

I think, in this case, the alt text has to be defined within the
context of the _function_ and _conceptual content_ of the image map,
not its specific appearance. In other words, what is the significance
of "v = n", and why would someone be interested on clicking on that
part of the map/that link?
Beware that alt attributes in area elements are poorly supported in graphic
browsers; see my page
http://www.cs.tut.fi/~jkorpela/html/mapalt.html
(fairly dated, but probably still the most extensive study of the issue).
Ok, fair enough. I have to admit that I was mostly adding the alt text
to suppress warnings when validating the page, but felt uncomfortable
simply using an empty string (alt="")
So it might be a good idea to include a link to an alternative page that
contains the list of links without images.
I'll have to think about that one - I have limited time right now, and
I am not immediately aware of any student who needs an alternative to
the visual presentation (although universal design principles suggest
it should be done at some point.)
Actually, I'm afraid that it is far from evident that there is something
clickable on screen when there's a client-side image map. There's nothing
that suggests such behavior, unless you start moving around the page with
the mouse and look at the status line or notice the "tooltips", if
displayed. If the texts on the left were blue with underlining, i.e. would
_look_ like links, it would be a different matter.
Point taken; on other image maps, there is a short introductory text
along the lines of "click on a part of the image for further details."
Like this one:

http://www.chem.utoronto.ca/courseno...hrom/hplc.html
http://www.chem.utoronto.ca/courseno...s/summary.html
Boy, I hope the users of this page have really good eyesight. It's
illegible to me.
Unfortunately, me too! I've been tweaking some of the other image
maps, and I'm aiming to do this one also. I can certainly make the
text within the first few rows bigger; the problem comes at the bottom.
Fair comment, but the image is already so wide that it's difficult to make
it fit on printing. (And it's something that users might really want to
print.) It's not very readable even on zooming, since the texts get rather
blurred.
Note to self: I should make sure there's an @media print that hides the
navbar!
It would be somewhat more readable if the image were reconstructed so that
the texts in it are in some sans-serif font - this might be a job for
Verdana, despite the fact that normal mathematical style doesn't use it.
I'll have to give that a try when I update the original image.
I like the idea of using an image map this way, but I'm afraid that the poor
behavior of browsers makes this doubtful.
Unfortunately, I'm not wild about any of the alternatives for something
this complex. I have seen organizational charts done quite nicely
(such as the Elvish Genealogy), but those haven't been as deep, and
didn't require embedded equations!
Jun 15 '07 #4
Scripsit David Stone:
I think, in this case, the alt text has to be defined within the
context of the _function_ and _conceptual content_ of the image map,
not its specific appearance. In other words, what is the significance
of "v = n", and why would someone be interested on clicking on that
part of the map/that link?
My example was actually based on my wrong initial guess on what might be the
active areas of the image map. I expected the bordered boxes, rather than
the texts on the left, to be such areas. I then realized what the idea was.
But there was really nothing in the visual appearance suggesting it; this is
one of the problems with image maps.

But _assuming_ that a box with "v = n" in it _were_ an active area (a link),
then I still think that the correct alt text, both functionally and by the
letter and spirit of the specification, would be alt="v = n". The point is
that the alt text is supposed to specify the textual equivalent of the
_area_.

You can look at this from another perspective too. A person who sees the
image map and its areas will base his decisions on what he sees in the area,
such as the text "v = n". Therefore, a person who accesses the page in a
different mode, should normally have the same text available. (If an area
contains "rich text" with superscripts and italics etc., it may be necessary
to consider how to present the equivalent information in plain text, as
required by HTML rules for attribute values.)

Of course, in some cases, the equivalent text would need to be something
different, but this would depend on the visible map, not on the pages it
links to. It's the visual information in the map and its areas that needs
textual equivalents. For example, if
>Actually, I'm afraid that it is far from evident that there is
something clickable on screen when there's a client-side image map.
- -
Point taken; on other image maps, there is a short introductory text
along the lines of "click on a part of the image for further details."
That's one of the few situations where the word "click" makes sense on web
pages. Normally I (and the W3C) oppose "clickism", but here some reference
to the technicalities might be needed. But perhaps it _could_ be formulated
in a more device-agnostic way, e.g. "The bordered parts of the image are
links to further details". Assuming that the active areas have borders, I
think that would do well. People using the page without images would have no
use for the information about borders, but neither would they need it, since
their browser is effectively expected to present the image map as a list of
textual links. So it's really in the visual mode where users need hints!

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jun 15 '07 #5
In article <T9*******************@reader1.news.saunalahti.fi> ,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
Scripsit David Stone:
I think, in this case, the alt text has to be defined within the
context of the _function_ and _conceptual content_ of the image map,
not its specific appearance. In other words, what is the significance
of "v = n", and why would someone be interested on clicking on that
part of the map/that link?

My example was actually based on my wrong initial guess on what might be the
active areas of the image map. I expected the bordered boxes, rather than
the texts on the left, to be such areas. I then realized what the idea was.
But there was really nothing in the visual appearance suggesting it; this is
one of the problems with image maps.
Actually your assumption was correct, I just don't have all the areas and
links defined on that particular version of the page yet. As I said, I'm
updating both the content and presentation of an existing site, and
putting the revised material in a parallel site for testing purposes as
I get each page finished.
But _assuming_ that a box with "v = n" in it _were_ an active area (a link),
then I still think that the correct alt text, both functionally and by the
letter and spirit of the specification, would be alt="v = n". The point is
that the alt text is supposed to specify the textual equivalent of the
_area_.
I understand that; I'm still thinking through some of the ramifications
of using an image map (who's primary purpose is presumably navigation)
as a concept map (with links to related information). I think it would
be fair to say that this is a little beyond the "simple" use envisioned
in the html specs.

[snip]
Actually, I'm afraid that it is far from evident that there is
something clickable on screen when there's a client-side image map.
- -
Point taken; on other image maps, there is a short introductory text
along the lines of "click on a part of the image for further details."

That's one of the few situations where the word "click" makes sense on web
pages. Normally I (and the W3C) oppose "clickism", but here some reference
to the technicalities might be needed. But perhaps it _could_ be formulated
in a more device-agnostic way, e.g. "The bordered parts of the image are
links to further details".
I hadn't thought of that, but can area elements have visible borders?
I don't see any mention of that in the specification, but it does
list onfocus an onmouseover, so you could have some sort of highlighting.
Can hover be applied here as an alternative?
Jun 15 '07 #6
Scripsit David Stone:
I hadn't thought of that, but can area elements have visible borders?
I meant areas with borders in the sense that the image of the image map
contains them. That is, the borders would be added when creating the image.

Technically, an area element, like any element, has the CSS border
properties, but I don't expect browsers to take them into account when
presenting a document.
I don't see any mention of that in the specification, but it does
list onfocus an onmouseover, so you could have some sort of
highlighting. Can hover be applied here as an alternative?
Well, highlighting on mouseover does not really help with the problem that a
user does not recognize an image as "clickable" or its active areas.

Browsers tend to show a 1px dotted or dashed _outline_ when an area is
clicked, similar to the "selection rectangle" of normal links. This does not
help much (many authors even regard it as a nuisance!), though.

Highlighting on mouseover is possible but only by using an onmouseover event
handler for an area element, with code that replaces the entire image with a
version that has the particular area highlighted. So it takes quite some
work to set things up that way, and there's performance overhead (especially
if the image is large), so it's rare.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jun 15 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Stanimir Stamenkov | last post by:
I have this kind of construct: http://www.geocities.com/stanio/temp/usemap01.html (an IMG element using MAP described with AREA elements) I'm trying to make it more accessible and currently...
4
by: Jim Land | last post by:
I've got an image and an image map, and they work fine together. See it here: http://www.jim-land.com/testing/MapPage01.htm But the image map has way too many points (vertices) in its 87...
1
by: Hemanth | last post by:
Hello, Could anyone throw some light on the following questions, please? 1) How can I add a hyperlink to an image file generated using GD library? For eg., I'm using ImageString(...) function...
3
by: lofty00 | last post by:
hello, sorry about the repost - I've been posting to several groups and I've decided it's better to make a single repost to all of them rather than an extra post in each. I've been trying to...
7
by: petethebloke | last post by:
Can anyone help? I have a client who has made a "dynamic interactive map" of our city using Dreamweaver. Each map file has hotspots that pop-up a div with a little image when the mouse goes over...
7
by: David Stone | last post by:
Run into something recently that has left me a little puzzled. According to the examples in section 13.6.1 of html 4.01... <http://www.w3.org/TR/html401/struct/objects.html#h-13.6.1.1> I...
4
by: Ryan Knopp | last post by:
This is an update from a previous post, I just simplified the code. It seems that I can't get the image map to work with IE7. The page is located here http://www.theknopps.com/test.html and the...
13
by: seegoon | last post by:
Hi all. So: I've put together a page, in which I want several clickable image maps. I've put those together already. The problem with image maps is that they're not very intuitive, so users don't...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.