Discussion:
IE8 and Alt tags for Images
(too old to reply)
Michael
2009-03-04 16:39:04 UTC
Permalink
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.

When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.

I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?

Any advice welcomed, or even suggestions as to where to ask the question
............. Michael
C A Upsdell <""cupsdell\"@">
2009-03-04 17:33:19 UTC
Permalink
Post by Michael
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.
When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.
I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?
The ALT text should appear only if its image does not. I suspect that
you want text to appear when the cursor points to the image, and for
that you should be using the TITLE attribute, not the ALT attribute.
Michael
2009-03-04 22:15:04 UTC
Permalink
You learn something everyday. I had never heard of the TITLE attribute and
had no need of it with IE7, as this allowed the text to appear when the mouse
was pointed towards the image.

Thank you for the advice ............ Michael
Post by C A Upsdell <""cupsdell\"@">
Post by Michael
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.
When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.
I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?
The ALT text should appear only if its image does not. I suspect that
you want text to appear when the cursor points to the image, and for
that you should be using the TITLE attribute, not the ALT attribute.
C A Upsdell <""cupsdell\"@">
2009-03-05 00:01:15 UTC
Permalink
Post by Michael
You learn something everyday. I had never heard of the TITLE attribute and
had no need of it with IE7, as this allowed the text to appear when the mouse
was pointed towards the image.
The problem, as I hope you have now discovered, is that the ALT
behaviour you were used to is incorrect, and always has been: IE has
supported TITLE for a long, long time, but continued to make ALT work as
you expected, in order to maintain compatibility with extinct browsers.
gophigure
2009-03-20 23:30:10 UTC
Permalink
This seems sporadic. One of my websites shows the "alt" text and one does
not. Both were built using the "alt" tags. I don't understand why one works
and one doesn't.
Post by C A Upsdell <""cupsdell\"@">
Post by Michael
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.
When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.
I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?
The ALT text should appear only if its image does not. I suspect that
you want text to appear when the cursor points to the image, and for
that you should be using the TITLE attribute, not the ALT attribute.
C A Upsdell <""cupsdell\"@">
2009-03-21 00:29:19 UTC
Permalink
Post by gophigure
This seems sporadic. One of my websites shows the "alt" text and one does
not. Both were built using the "alt" tags. I don't understand why one works
and one doesn't.
DOCTYPES maybe? What modes are the sites rendered in? A site in quirks
mode would likely show the ALT text on hover; a site in standards mode
should not do so.
Post by gophigure
Post by C A Upsdell <""cupsdell\"@">
Post by Michael
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.
When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.
I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?
The ALT text should appear only if its image does not. I suspect that
you want text to appear when the cursor points to the image, and for
that you should be using the TITLE attribute, not the ALT attribute.
PA Bear [MS MVP]
2009-03-04 22:03:47 UTC
Permalink
IE Developer Center
http://msdn.microsoft.com/en-us/ie/default.aspx

Learn IE8
http://msdn.microsoft.com/en-us/ie/aa740473.aspx

IE Beta Public Newsgroup Support: microsoft.public.internetexplorer.beta

Via the web-interface:
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.internetexplorer.beta

Via your newsreader:
news://msnews.microsoft.com/microsoft.public.internetexplorer.beta

Or you could post here instead:

MSDN IE Development Forums
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=253&SiteID=1
--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Client - since 2002
AumHa VSOP & Admin http://aumha.net
DTS-L http://dts-l.net/
Post by Michael
I have several websites that were built using Front Page 2003, for example
http://www.oradour.info and all the images have 'Alt' tags set to give
additional information.
When I view the site using IE8, the Alt Tag text does not display, when I
press the Compatibility View button, the text displays correctly.
I would not have thought that there should be any compatibility issues here
and that the Alt Tag text should show normally, am I missing something?
Any advice welcomed, or even suggestions as to where to ask the question
Loading...