putting a link on a logo

M

mbstevens

How do I put a link on my logo?

Same as any other image.

<a href="someOther.html">
<img
src="images/mylogo.jpg"
width="50"
height="41"
alt="logo" />
</a>
 
D

David Dorward

mbstevens said:
alt="logo" />

"logo" is pretty poor alt text. It should be a replacement for an image, not
a brief description of it (sometimes a brief description is a good
replacement, but not usually).

Remember, if images are turned off, this is the same as:

<a href="someOther.html">logo</a>

Does that make sense?
 
M

mbstevens

"logo" is pretty poor alt text. It should be a replacement for an image, not
a brief description of it (sometimes a brief description is a good
replacement, but not usually).

Remember, if images are turned off, this is the same as:

<a href="someOther.html">logo</a>

Does that make sense?

Certainly does, but in the absence of more information about
what his business or lack thereof is, 'logo' was about the best
I could come up with.
 
J

Jonathan N. Little

wesbao said:
How do I put a link on my logo?

Question is a little vague, a URL of your current efforts would help.

If you mean make an image a clickable link then

<a href="http://example.com"><img src="logoImage.jpg" alt="My Site"></a>
 
A

Alan J. Flavell

[...] in the absence of more information about
what his business or lack thereof is, 'logo' was about the best
I could come up with.

alt="Foo corporation" (if the name of the corporation isn't already
there in text alongside), or alt="" if it isn't. Works for any
unspecified corporation, and it's obvious how to adapt it.

alt="logo" is almost certainly wrong, and sets others a bad model to
work from.
 
M

mbstevens

[...] in the absence of more information about
what his business or lack thereof is, 'logo' was about the best
I could come up with.

alt="Foo corporation" (if the name of the corporation isn't already
there in text alongside), or alt="" if it isn't. Works for any
unspecified corporation, and it's obvious how to adapt it.

alt="logo" is almost certainly wrong, and sets others a bad model to
work from.

Well, as long as we're going to be _fanciful_, I would prefer:
alt = "logo of the Foo corporation -- flock of vultures attacking a
rabbit which is sitting atop a pyramid with an eye on it"

The information that it _is_ a logo is of some importance to
_some_ people.
 
D

David Dorward

mbstevens wrote:
Well, as long as we're going to be _fanciful_, I would prefer:
alt = "logo of the Foo corporation -- flock of vultures attacking a
rabbit which is sitting atop a pyramid with an eye on it"

The information that it _is_ a logo is of some importance to
_some_ people.

But is it important in the context of the document?

In most cases the purpose of displaying a logo is to brand a page, not to
inform people what the logo looks like. Your example might be reasonable on
a page where the purpose is to display the company logo (although such a
page would probably have some or all of that information in prose anyway).
 
M

mbstevens

But is it important in the context of the document?

I believe that if I were blind, I would want to know not only
what the company was, but that I was 'looking' at a logo.
In most cases the purpose of displaying a logo is to brand a page, not to
inform people what the logo looks like.

If the logo actually has an image that is not a
non-objective image, the web author should also give a description of it.
Again, that's what I would want to 'see' if I were unsighted. Do note that
I peppered my last post with "some". I can't speak for everyone, but
that's the kind of information I would want.

(Correct me if I'm wrong, but I think you and Allen are actually
whacking me about what you might call sloppy pedagogy on my part.
I shall consider myself properly chastised, and will include a full
length, highly fanciful alt text on future examples -- or, at least
I will if I feel energetic enough.)
 
W

wesbao

Thanks David:

I must be doing something wrong or missing a character.

I used this link code to my photo and if failed to link to my profile.

<p><a href="URL/</p>

Please help, what am i doing wrong?
 
D

David

wesbao said:
Thanks David:

I must be doing something wrong or missing a character.

I used this link code to my photo and if failed to link to my profile.

<p><a href="URL/</p>

Note the missing ">" and the missing "</a>the correct way would be
something like
<p>
<a href="URL">
<img src="PATH TO SOME IMAGE" alt="This is my pic" height="height of
image" width="width of image" />
</a>
Please help, what am i doing wrong?


David Dorward wrote:

<snip>
 
D

David Dorward

I believe that if I were blind, I would want to know not only
what the company was, but that I was 'looking' at a logo.

If I'm trying to find out about the new Rocket Skates from Acme Inc then I'd
want to know that I was looking at Acme Inc's website - but why would I
care that it was a logo conveying that information?

Oh, and alt text is not "for the blind", it is there for any user or bot
that can't interpret images with their client and physical situation.

BTW, the longdesc attribute provides a facility for providing a description
of an image.
(Correct me if I'm wrong, but I think you and Allen are actually
whacking me about what you might call sloppy pedagogy on my part.

You gave a bad example, we called you on it, but now this has changed into a
discussion on what constitutes appropriate alt text.
 
M

mbstevens

If I'm trying to find out about the new Rocket Skates from Acme Inc then I'd
want to know that I was looking at Acme Inc's website - but why would I
care that it was a logo conveying that information?

It would be significant to me.

I'm reminded of the scene in "Lost in
Translation" where a director spends a full minute describing to Bill
Murray exactly what he wants him to do. The translator then turns to
Murray and says "He says, turn and smile to camera."

If you're someone
who has never seen a company's logo, and who will never be able to see
it, it might be useful for the web author to give you a little extra
information. When looking at future pages relating to that company,
you can just see the word 'logo' toward the front of the description and
will remember what you read previously.
Oh, and alt text is not "for the blind", it is there for any user or bot
that can't interpret images with their client and physical situation.

Of course, of course.
Blind people are _one_ group that would depend on it.
BTW, the longdesc attribute provides a facility for providing a description
of an image.

....and it is arguable just how much additional text should cause
the move to a longdesc.
 
M

mbstevens

<p><a href="URL/</p>

Please help, what am i doing wrong?

The skeleton should look like:

<p>
<a href= <!-- insert URL here between quotation marks -->
<img
src=<!-- insert URL of image here between quotation marks -->
height=<!-- insert height here between quotation marks -->
width=<!-- insert width here between quotation marks -->
alt="logo of the Foo corporation
-- flock of vultures attacking a
rabbit which is sitting atop a pyramid
with an eye on it" />
longdesc="...and the rabbit has tics,
and the tics are full. It is a blustery day,
but the vultures are of the particular Jamaican
variety, known as John Crows, and are little affected
(or 'impacted' as they say on the news) by this.
The Pyrimid is Mayan, not Egyptian or Aztec. We're
not altogether sure how a Mayan pyramid got onto
Jamaica. But that's neither here nor there.
Oh, and by the way, some people dislike longdescs."
</a>
</p>

Hmm.
Maybe that's too much information. :)

Let's try something a little easier to read:


<a href="*">
<img
src="*"
height="*"
width="*"
alt="*" />
</a>
________________
....where the asterisk ('*') is the stuff that _you_ fill in.
 
M

mbstevens

The skeleton should look like:

<p>
<a href= <!-- insert URL here between quotation marks -->
<img
src=<!-- insert URL of image here between quotation marks -->
height=<!-- insert height here between quotation marks -->
width=<!-- insert width here between quotation marks -->
alt="logo of the Foo corporation
-- flock of vultures attacking a
rabbit which is sitting atop a pyramid
with an eye on it" />
longdesc="
___________________________________________________________________

....of course should have been a uri. But you can see
why it sometimes is better to have a bit of a longer alt attribute
than to send someone to another page, if the longdesc can be avoided.
 
D

David Dorward

mbstevens said:
It would be significant to me.

Why? You are trying to find out about the Rocket Skates - what does the
company logo have to do with that?
I'm reminded of the scene in "Lost in
Translation" where a director spends a full minute describing to Bill
Murray exactly what he wants him to do. The translator then turns to
Murray and says "He says, turn and smile to camera."

I haven't see the film, but presumably the director is trying to describe
exactly how he should act. The purpose of the conversation is to describe
exactly how he should act. The purpose of the webpage is to describe the
Rocket Skates, not the logo.
If you're someone
who has never seen a company's logo, and who will never be able to see
it, it might be useful for the web author to give you a little extra
information.

Why? And what is wrong with longdesc?
When looking at future pages relating to that company,
you can just see the word 'logo' toward the front of the description and
will remember what you read previously.

And then have more scrolling or listening to get past the description that
you've already read / heard.

The purpose of logos is usually to provide brand recognition. You see the
logo, you associate it with the company at a glance. It isn't there so
people can think of the company logo and go "Oooh, pretty".
 
A

Alan J. Flavell

By which, of course, I *meant* alt="" if it *is*. Sorry - changed
horses in mid-sentence, and didn't spot it in proofreading.
Well, as long as we're going to be _fanciful_, I would prefer:
alt = "logo of the Foo corporation -- flock of vultures attacking a
rabbit which is sitting atop a pyramid with an eye on it"

That is hardly ever a meaningful textual replacement for the author's
intention in placing a logo on the page. It's there to establish or
reinforce the brand (that's why it's a logo, after all).
The information that it _is_ a logo is of some importance to
_some_ people.

Sure. Haven't you heard about the "title=" attribute, for supplying
optional additional information about the element to which it's
applied? Doesn't that seem to fit the description of what you
just said that you wanted?
 
M

mbstevens

That is hardly ever a meaningful textual replacement for the author's
intention in placing a logo on the page. It's there to establish or
reinforce the brand (that's why it's a logo, after all).
.........
Sure. Haven't you heard about the "title=" attribute, for supplying
optional additional information about the element to which it's
applied? Doesn't that seem to fit the description of what you
just said that you wanted?


* It is a bad idea to try to guess an author's intention.
Authors can intend a huge range of things.
Their bosses can intend a huge range of things.

* The title of a logo is not necessarily "logo".

* It _is_ a good idea to try to guess what a visitor will want
from a page. But an author should allow for a wide range
of visitors. I explained to David why some blind persons
might like to have the information that what they are 'looking'
at is a logo.
 
M

mbstevens

Why? You are trying to find out about the Rocket Skates - what does the
company logo have to do with that?

You don't give the appearance of reading ahead. I explained it in a
following paragraph: "When looking at future pages relating to that
company, you can just see the word 'logo' toward the front of the
description and will remember what you read previously."
I haven't see the film, but presumably the director is trying to describe
exactly how he should act. The purpose of the conversation is to describe
exactly how he should act. The purpose of the webpage is to describe the
Rocket Skates, not the logo.

As I said to Alan: "It is a bad idea to try to guess an author's intention.
Authors can intend a huge range of things.
Their bosses can intend a huge range of things."

We don't even know exactly what the page is at this point, and you're
telling me the author's intentions. That is a very hard thing to support.
Why? And what is wrong with longdesc?

I have no objection to it, but it is up to me as the author exactly
what goes into it. You seem to want to second guess the intentions
of any web page author that uses a logo.
And then have more scrolling or listening to get past the description that
you've already read / heard.

I don't have a reader, but I would imagine that when you hear "logo" you
could hit some key to skip further reading.
The purpose of logos is usually to provide brand recognition. You see the
logo, you associate it with the company at a glance. It isn't there so
people can think of the company logo and go "Oooh, pretty".

No, but you may be taking away some of the 'poetry' of the logo by not
describing it. I'd rather hear "logo, Nike Swoop!" than "Nike Company".
I think you're being too literal. There are whole ranges of information
that an author _might_ want to use, not all of them purely
factual.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top