472,958 Members | 2,233 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

use of alt & title for images, and image links

Even after comments in another thread by Alan J. Flavell,
I'm not sure I have this straight in my head, so any comments
or corrections are welcome :-)

If I have:
<p>
The quick brown fox jumped over the lazy dog.
</p>
and I change it to:
<p>
The quick <a href="fox.jpg">brown fox</a> jumped over the lazy dog.
</p>
I don't change the "brown fox" text, although the 'functionality'
or 'meaning' of the text has changed, in that it is now a link.

Although I have no experience with them, I can imagine a screen reader
reading both sentences the same way, depending on how, or if, links
are "highlighted".

If I have:
<p>
<img src="fox.jpg" width="50" height="50"
alt="brown fox" title="brown fox">
</p>
that shows a "thumbnail image" of a fox, and I use it
in combination with some text:
<p>
The quick
<img src="fox.jpg" width="50" height="50"
alt="brown fox" title="brown fox">
jumped over the lazy dog.
</p>
then am I correct in saying that there is no need, in terms of
best practices, to change the alt and/or title text?

If the "thumbnail image" of the fox is also used as a link
to a 'full sized' image of a fox:
<p>
The quick
<a href="foxlarge.jpg">
<img src="fox.jpg" width="50" height="50"
alt="brown fox" title="brown fox"></a>
jumped over the lazy dog.
</p>
should the alt and/or title text change?

--
Dave Patton
Canadian Coordinator, the Degree Confluence Project
http://www.confluence.org dpatton at confluence dot org
My website: http://members.shaw.ca/davepatton/
Vancouver/Whistler - host of the 2010 Winter Olympics
Jul 20 '05 #1
5 2718
In article <Xn******************************@24.71.223.159> ,
Dave Patton <dp*****@remove-for-nospam.confluence.org> wrote:
<p>
The quick
<a href="foxlarge.jpg">
<img src="fox.jpg" width="50" height="50"
alt="brown fox" title="brown fox"></a>
jumped over the lazy dog.
</p>


<p>
The quick
<a href="foxlarge.jpg" title="Larger picture of a brown fox"><img
src="fox.jpg" alt="brown fox"></a>
jumped over the lazy dog
</p>
Jul 20 '05 #2
In article <Xn******************************@24.71.223.159> , one of infinite monkeys
at the keyboard of Dave Patton <dp*****@remove-for-nospam.confluence.org> wrote:
<p>
The quick
<img src="fox.jpg" width="50" height="50"
alt="brown fox" title="brown fox">
jumped over the lazy dog.
</p>
The title attribute - though harmless - seems superfluous. What does it
tell you that's not clear in the image and the alt?
<p>
The quick
<a href="foxlarge.jpg">
<img src="fox.jpg" width="50" height="50"
alt="brown fox" title="brown fox"></a>
jumped over the lazy dog.
</p>
should the alt and/or title text change?


The title attribute is equally superfluous. But a title attribute to
the <a ...> would now make some sense (it's a title for the resource
you're linking to).

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Jul 20 '05 #3
In article <MP************************@news.CIS.DFN.DE> in
comp.infosystems.www.authoring.html, Jacqui or (maybe) Pete
<po****@spamcop.net> wrote:
ell, I think your examples are correct, and from the lack of response
I'd say that most other people here do too.


I don't think that conclusion is logical. They could also be
uninterested, or fatigued, or unable to articulate exactly what they
don't like.

I'm not saying anything about the particular issue you responded to;
but I think as a general rule it is logically invalid and dangerous
to equate "few or no people voiced disagreement" with "most people
agree".

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4
In article <MP************************@news.odyssey.net>,
Stan Brown <th************@fastmail.fm> wrote:
I'm not saying anything about the particular issue you responded to;
but I think as a general rule it is logically invalid and dangerous
to equate "few or no people voiced disagreement" with "most people
agree".


Isn't that how politics work? :P
Jul 20 '05 #5
In article <MP************************@news.odyssey.net>,
th************@fastmail.fm says...
In article <MP************************@news.CIS.DFN.DE> in
comp.infosystems.www.authoring.html, Jacqui or (maybe) Pete
<po****@spamcop.net> wrote:
ell, I think your examples are correct, and from the lack of response
I'd say that most other people here do too.

.... I'm not saying anything about the particular issue you responded to;
but I think as a general rule it is logically invalid and dangerous
to equate "few or no people voiced disagreement" with "most people
agree".

Sure, but given what a popular subject for argument this particular
issue is I figure that silence is at least silver :-)
Jul 20 '05 #6

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

Similar topics

0
by: Sarah Akers | last post by:
GgF ----gL5cJ72EqiGIQ0SK65Rz Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html> <head> <style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
1
by: Jiri Brada | last post by:
Hi, I have got a following problem with using Javascript: I have a HTML page with pictures' thumbnails. After clicking on any thumbnail, I would like to open a new window with the original...
6
by: Olly | last post by:
I've found a basic script, however I also need to add alt and title attributes as well, how would I go about doing this? Here's the script I found: Thanks <script language="JavaScript"> <!--...
14
by: Del Ferguson | last post by:
Group, New to this list. I just found out that FireFox does not display the img alt attribute the same way IE does. I use both browsers to verify that my pages are readable. Dumb me for not...
10
by: David Stone | last post by:
At first glance, alt and title seem to be a bit of a duplication for img tags in html. Are there any _practical_ differences for the html 4 strict doctype? What would be the consequences (if...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
3
by: KimberlyM | last post by:
This has been driving me crazy. I hope someone can help. The site displays perfectly in FF but all div's do not show in IE. Please help me find the problem! Thanks! Here is my css. ...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.