HighDots Forums  

required attribute "ALT" not specified .

alt.html alt.html


Discuss required attribute "ALT" not specified . in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
dorayme
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-02-2007 , 11:32 PM






In article <5cenb9F30be60U1 (AT) mid (DOT) individual.net>,
Bergamot <bergamot (AT) visi (DOT) com> wrote:

Quote:
dorayme wrote:

I was
not saying its ok to leave out alt attributes out full stop.

Huh? It looks to me that is exactly what you said:
Please read more closely what I said and try to operate on the
principle of a charitable interpretation. If you attend to what I
have been saying you will not be able to draw the conclusion that
I think it is ok to leave out alt text whenever one feels like
it.

Quote:
You can also leave it out altogether.

Leaving alt out and using blank alt are 2 very different things.

Of course they are 2 different things. The difference is great in
some cases, not very great in others and this is what you are
missing.

Quote:
What are the bad
consequences beyond failing validation because of it?

Look at said page in Lynx or any graphical browser with image loading
disabled and see for yourself.

This is what I would see if my suggestion were implemented:

Your suggestion of using the same alt text on every link is a poor one,


It is poor because of someone wanting to look at that particular
page's links out of context? But you must reflect on whether that
would that be an intelligent thing to do given the nature of that
page. It simply would not be. If someone by accident came across
the links on their own, it would not principally be the naming of
the alt text that caused them to be miffed but rather the fact
that the buttons were an unnecessary addition to the questions
and need to be seen with the questions. I do not defend the
design. If the author had gone to the trouble of putting alt text
in that would have been really meaningful, then he would have
included the question in the button too in something like, "the
answer to the question "blah blah". And if he had done this, he
would not have bothered to so design the question and answer in
the first place. I stand by my view that it was in this
particular case in the circumstances fairly appropriate to make
the alt text all the same along the lines I suggested.

Quote:
but I was referring to leaving alt out altogether.
And leaving out alt text for some decorative and other non
content objects is something I wish to look into more closely.
Suggest a page where there are a lot of these things and I will
try to look at it with images turned off and think about the
difference between "" and no alt at all.

Quote:
Please do not make the point again about a pure links page.

Just because it is something you don't use yourself doesn't mean nobody
else has a reason to.
No, you have this wrong. It was not because of this at all.

Quote:
If it weren't a useful feature for some percent of
users, browser makers wouldn't bother to implement it.
It can be a useful feature. But in the context of the page in
question, the big trouble was elsewhere. My alt text suggestion
did not make things worse for everyone. On the whole it made
things better.


Quote:
Regardless, link
text needs to be meaningful out of context. Using the same alt text on
every link is not meaningful.

This is simply not true. You are failing to imagine all manner of
things.

Quote:
I
have replied about that and the above is not to be confused with
that issue.

You are the one who is confused about alt text. You should stop giving
advice on the subject until you learn more about it.
I would have thought this would be beneath you but obviously it
is not. I was separating two issues and you took an opportunity
to insult me. Your paraphrase of my advice would be very
different to my advice. It is quite extraordinary for you to
suppose this is some sort of help desk and I really think I am
giving authoritative advice. I say things because I am thinking
about them and hope for people to discuss the ideas. Not insult
me for speaking in good faith.

--
dorayme


Reply With Quote
  #32  
Old   
Ben C
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-03-2007 , 04:52 AM






On 2007-06-03, Bergamot <bergamot (AT) visi (DOT) com> wrote:
Quote:
dorayme wrote:
[...]
Please do not make the point again about a pure links page.

Just because it is something you don't use yourself doesn't mean nobody
else has a reason to. If it weren't a useful feature for some percent of
users, browser makers wouldn't bother to implement it.
Yes but you can't expect every page to work in every accessibility
feature of every browser. There's nothing in the HTML spec I can see
about anything like Opera's View Links feature. It makes no sense on a
www page to target specific boxes of tricks in particular browsers.

Quote:
Regardless, link text needs to be meaningful out of context. Using the
same alt text on every link is not meaningful.
But the buttons all look the same. Why should people who don't see the
images get better information than those who do?

This alt text is on the <img> not on the link. It's not "link text", but
"img text". Therefore if there's a problem here it's surely the fact
that the buttons are all the same? If they are all the same, their alt
text might as well be too.


Reply With Quote
  #33  
Old   
Bergamot
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-03-2007 , 08:47 AM



Ben C wrote:
Quote:
On 2007-06-03, Bergamot <bergamot (AT) visi (DOT) com> wrote:
dorayme wrote:
[...]
Please do not make the point again about a pure links page.

Just because it is something you don't use yourself doesn't mean nobody
else has a reason to. If it weren't a useful feature for some percent of
users, browser makers wouldn't bother to implement it.

Yes but you can't expect every page to work in every accessibility
feature of every browser. There's nothing in the HTML spec I can see
about anything like Opera's View Links feature. It makes no sense on a
www page to target specific boxes of tricks in particular browsers.
It's not really about targeting specific browsers. I used Opera as an
example because it's something you can easily check into yourself. The
same kind of feature exists in most screen readers, and no doubt other
browsers or browser extensions, too.

Quote:
Regardless, link text needs to be meaningful out of context. Using the
same alt text on every link is not meaningful.

But the buttons all look the same.
That's not relevant. The alt text for an individual button is.

Quote:
This alt text is on the <img> not on the link. It's not "link text", but
"img text".
You mention the W3C. They don't have to have specs for everything, but
there is a reference to this general concept in the WCAG 2.0 draft (soon
to be a recommendation):
http://www.w3.org/TR/2007/WD-WCAG20-...rview.html#H30

"When an image is the only content of a link, the text alternative for
the image describes the unique function of the link."

Note "unique function". "Go" is not unique when used multiple times for
different link destinations.

Quote:
Therefore if there's a problem here it's surely the fact
that the buttons are all the same?
Yes, that is the first problem. It would have been better overall if the
author used the question for the link instead of that 'go' button, but
the problem can be overcome with better alt text.

--
Berg


Reply With Quote
  #34  
Old   
dorayme
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-03-2007 , 07:13 PM



In article <Xns994362DA21634arbpenyahoocom (AT) 69 (DOT) 28.186.121>,
Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote:

Quote:
Gazing into my crystal ball I observed cwdjrxyz <spamtrap2 (AT) cwdjr (DOT) info
writing in news:1180658489.074166.206810 (AT) k79g2000hse (DOT) googlegroups.com:

Also if you write
alt="", the W3C html validator is satisfied. This usually would not be
a good idea, but it might help in some special case, although I can
not think of a good reason for a blank alt text at the moment.


You leave the alt attribute blank if the image is for decoration. For
example:

h1><img src="companylogo.png" alt="" height="100" width="200">Company
Name</h1

or

h1><a href="index.php" title="Return to Company Index Page"><img
src="companylogo.png" alt="" height="100" width="200">Company Name</a
/h1

When

<http://www.w3.org/TR/2007/WD-WCAG20-...Overview.html#
H30>

becomes law (ferreted out by Bergamot), this will not be right
for the latter. Severe penalties will apply for not filling out
between the "s

Personally I like the title idea and have used it myself;
sometimes, even for text links as an additional (optional) help.

I guess it does make sense to also put in replacement text in the
alt for those situations where the title does not work or is too
quick in appearance or not available for other reasons (mouseless
browsing?)

This is so in general. But the law is still not a little god and
there are exceptional circumstances. When the level of hysteria
about this matter gets to fever pitch and people are demanding to
see the exceptions and they put up some money, that is when I
deliver and collect.

--
dorayme


Reply With Quote
  #35  
Old   
Chris F.A. Johnson
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-03-2007 , 08:41 PM



On 2007-06-02, dorayme wrote:
Quote:
In article <Xns994362DA21634arbpenyahoocom (AT) 69 (DOT) 28.186.121>,
Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote:

You leave the alt attribute blank if the image is for decoration. For
example:

h1><img src="companylogo.png" alt="" height="100" width="200">Company
Name</h1

You can also leave it out altogether. What are the bad
consequences beyond failing validation because of it?
You've obviously never looked at such a page in a text browser such
as Lynx.


--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


Reply With Quote
  #36  
Old   
Adrienne Boswell
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-03-2007 , 10:05 PM



Gazing into my crystal ball I observed dorayme
<doraymeRidThis (AT) optusnet (DOT) com.au> writing in news:doraymeRidThis-
9656FC.02542803062007 (AT) news-vip ...ptusnet.com.au:

Quote:
In article <Xns994362DA21634arbpenyahoocom (AT) 69 (DOT) 28.186.121>,
Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote:

You leave the alt attribute blank if the image is for decoration. For
example:

h1><img src="companylogo.png" alt="" height="100" width="200">Company
Name</h1

You can also leave it out altogether. What are the bad
consequences beyond failing validation because of it?

If you leave out the alt attribute in Opera, for example, it creates an
image placeholder that says Image, if you use alt="", it does not. You
would be surprised how many slice and dice sites I've been to that have
Image on them 20 times or more. This is especially true if you turn
images off (and I sometimes do even though I have broadband).

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



Reply With Quote
  #37  
Old   
cwdjrxyz
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-03-2007 , 11:58 PM



On Jun 3, 9:05 pm, Adrienne Boswell <arb... (AT) yahoo (DOT) com> wrote:
Quote:
Gazing into my crystal ball I observed dorayme
doraymeRidT... (AT) optusnet (DOT) com.au> writing in news:doraymeRidThis-
9656FC.02542803062... (AT) news-vip (DOT) optusnet.com.au:

In article <Xns994362DA21634arbpenyahoo... (AT) 69 (DOT) 28.186.121>,
Adrienne Boswell <arb... (AT) yahoo (DOT) com> wrote:

You leave the alt attribute blank if the image is for decoration. For
example:

h1><img src="companylogo.png" alt="" height="100" width="200">Company
Name</h1

You can also leave it out altogether. What are the bad
consequences beyond failing validation because of it?

If you leave out the alt attribute in Opera, for example, it creates an
image placeholder that says Image, if you use alt="", it does not. You
would be surprised how many slice and dice sites I've been to that have
Image on them 20 times or more. This is especially true if you turn
images off (and I sometimes do even though I have broadband).
Since the alt text is often needed by the disabled, it sometimes pays
to include it for absolutely all images, even those serving for
nonessential pure decoration, even if using alt="" many be quite legal
formally. In the past disabled people where grateful for any help they
might get, because so often they got none. However, at least in the
US, as the years have passed, some disabled activists have become very
vocal about their rights. There attitude might be to label all images
used with alt and let them decide if they are interested or not. Or,
what gives you the right to decide for them only what you think they
should want to read about - after all you likely do not have their
disability. A few months ago a woman, who appeared very well
qualified, was selected to head the leading university for deaf people
in the US. She apparently could use and understand sign language very
well. However she was not deaf. Many of the students did not think a
non-deaf person could be qualified, no matter what other
qualifications were. There were large student demonstrations. In the
end someone else was given the job. I repeat this story here not to
argue the merits of it pro or con. I am just pointing out that if you
are writing a web site likely to be used by large numbers of disabled,
it is best not to assume that they do not need something.



Reply With Quote
  #38  
Old   
Adrienne Boswell
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-04-2007 , 02:20 AM



Gazing into my crystal ball I observed cwdjrxyz <spamtrap2 (AT) cwdjr (DOT) info>
writing in news:1180929504.448376.215870 (AT) k79g2000hse (DOT) googlegroups.com:

Quote:
h1><img src="companylogo.png" alt="" height="100"
width="200">Company Name</h1

You can also leave it out altogether. What are the bad
consequences beyond failing validation because of it?

If you leave out the alt attribute in Opera, for example, it creates
an image placeholder that says Image, if you use alt="", it does not.
You would be surprised how many slice and dice sites I've been to
that have Image on them 20 times or more. This is especially true if
you turn images off (and I sometimes do even though I have
broadband).

Since the alt text is often needed by the disabled, it sometimes pays
to include it for absolutely all images, even those serving for
nonessential pure decoration, even if using alt="" many be quite legal
formally.
Actually, with the advent of CSS and separation of presentation from
content, any images would have to have some semantic meaning, and
therefore, would need alt text.

Even:
<img
src="http://images.fedex.com/images/globalhome/globalhome_fedex_corp_logo
..gif" alt="Purple letters spelling Fed, followed by white letters
spelling Ex where the lower portion of the E becomes the tail of a right
pointing arrow" width="152" height="38">

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



Reply With Quote
  #39  
Old   
dorayme
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-04-2007 , 05:19 AM



In article <Xns9944C2465EA4Barbpenyahoocom (AT) 69 (DOT) 28.186.121>,
Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote:

Quote:
Gazing into my crystal ball I observed dorayme
doraymeRidThis (AT) optusnet (DOT) com.au> writing in news:doraymeRidThis-
9656FC.02542803062007 (AT) news-vip ...ptusnet.com.au:

In article <Xns994362DA21634arbpenyahoocom (AT) 69 (DOT) 28.186.121>,
Adrienne Boswell <arbpen (AT) yahoo (DOT) com> wrote:

You leave the alt attribute blank if the image is for decoration. For
example:

h1><img src="companylogo.png" alt="" height="100" width="200">Company
Name</h1

You can also leave it out altogether. What are the bad
consequences beyond failing validation because of it?


If you leave out the alt attribute in Opera, for example, it creates an
image placeholder that says Image, if you use alt="", it does not. You
would be surprised how many slice and dice sites I've been to that have
Image on them 20 times or more. This is especially true if you turn
images off (and I sometimes do even though I have broadband).
Just for now, I cannot say too much about alt text. My doctor has
forbidden it and has given me special pills to cope. "AltText
medication" it says on the bottle label, take two if you begin to
think about alt text in HTML. It is a painful subject and I have
the theory that no matter what anyone says, no matter what their
status, they will be not quite right in at least some respects.
It is possibly the most vexing subject in any field ever to have
been aired.

I will just say 3 things:

1. For now, I am thinking that the alt attribute is sadly lacking
in implementation on browsers. One has to find workarounds (sure,
there are plenty, that is not a puzzle) if the text is long and
the space reserved for the pic none too wide. But one should not
have to - at the very least one should be able to style the alt
text to wrap. One can make it bigger and smaller and fancy fonted
and coloured and all sorts of things. But get it to wrap inside a
dimensioned space reserved for a pic that is not loaded (either
deliberately by the user or due to a mistake beyond the user's
control) and it seems impossible. It is impossible, yes? I think
it would be nice.

2. The whole subject of decoration is a difficult one. I tend to
no longer use such things and so perhaps I do not think about it
all so clearly (I use bg images now and then). But there are a
number of different ways to go. In my opinion, if someone is
going to use a mass of spacers and fiddly decorative things, yes,
you are likely to be right that alt="" is best for many users
with images turned off for the reasons that "blank text" looks
cleaner, it acts like 'whiteout', it is something non existent
but useful.

3. If the picture is decorative in a way, but nevertheless
_interesting_, not some trivial thing, not a spacer, alt text
_should_ be a way to provide for someone not seeing the picture
to get some sense of it. See the Australian film "Proof" for the
idea, it is about a blind photographer and he gets folk to
describe the pics he takes (and, if i recall, gets to pick up
nice ladies too (photographers are quite notorious you know...).
It is not at all a silly thing. Do screen readers read _long_ alt
texts? Again I know there are other ways to deliver text about a
picture. But our subject is alt text, not something else.

4. Finally, at

<http://tinyurl.com/34z6kf>

1, 5 and 7 behave one way; 2, 3, 6 and 8 another way and 4 yet
another under images turned off deliberately in Opera. While
under images on, 1, 2 and 6 behave one way; 3 another, 4 another,
7 another and 8 yet another. I am not that puzzled about these
differences. I am trying to come to terms with them.

While under Firefox, 1, 5 and 7 behave one way; 2, 3, 4, 6 and 8
behave another.

As for the links (9 to 16, am too tired now to describe). In iCab
it is all a bit different again.

Perhaps this table will be useful to someone or other who wants
to check how different browsers behave with alt text. Important
to distinguish between a deliberate turning off of images from
them merely failing to appear. I have "misnamed" some files to
mimic the latter.

Adrienne, must rush now and take 2 altText tablets immediately.

--
dorayme


Reply With Quote
  #40  
Old   
dorayme
 
Posts: n/a

Default Re: required attribute "ALT" not specified . - 06-04-2007 , 05:21 AM



In article
<doraymeRidThis-A9AFFF.19194704062007 (AT) news-vip (DOT) optusnet.com.au>,
dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

Quote:
I will just say 3 things:

OK, 4 things...

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.