l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Dec 17 17:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] XSLT questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] XSLT questions

Please retain attribution when quoting.

On Thu, 18 Dec 2003, karthikeyan wrote:

[helpful link removed]

Jonathan McPherson said:

> > alt attribute for those images?  (Of course, XHTML won't let me not have
> > an alt attribute...)

to which karthikeyan responded:

> And why not?  my xhtml pages also does have alt tag and it gets validated
> fine.  I use transitional and not strict dtd.

... unless karthikeyan is missing a "not", he apparently did not read the
comment correctly.  Jonathan said he doesn't want to put an alt attribute
in, but it won't validate with the attribute missing.  Further,
karthikeyan's question is answered by his own comment that he uses
transitional validation... which will be deprecated eventually.

I am no great shakes as an html author, but I do have some opinions
regarding Jonathan's original question:

> > Here's a question for you, somewhat unrelated: what do you think the alt
> > attribute should contain for images that have no real semantic meaning?
> > Let's say, for example, that I have four "rounded corner" images so that
> > I can make rounded corners in my site's design.  What should I put in the
> > alt attribute for those images?

Alt is present for textual representation of the graphic ... it should
serve in place of the graphic if the graphic cannot be displayed.  Think
of the "links" browser... or better yet, a blind person listening to an
html-to-voice translator.  A graphical "box" might be shown as

    [|] some content ][|]

or as

    [vline] some content [vline]


    [] some content []

may do just as well (ALT="").  Which you use depends on how you want your
audience to perceive the box.  My preference is the middle one.

http://ppewww.ph.gla.ac.uk/~flavell/alt/alt-text.html has some interesting
things to say on this topic, and leans toward the last option.  Which is
right probably depends on why you wanted to border the "some content" in
the first place... I don't like using graphics gratuitously (but then my
perspective may be a bit off-normal...).

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.