WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: PPT to clean HTML

for

From: Glenda
Date: Dec 14, 2004 5:20PM


Hi Jukka,

I know the content needs work, much of it doesn't make sense as a
standalone. BUT, at this point, that is not my job, other than for the odd
content change. Its frustrating from a communications perspective because
readers not familiar with the project won't have a clue what it means. But
that isn't my problem, yet.

Re: the ALT attribute - perhaps I was taking "equivalent alternative" too
far? I was thinking that, because a sighted person could see the logo was
bilingual, a blind person should also have the same information, even though
the site is only English.

Glenda

-----Original Message-----
From: jkorpela [mailto: <EMAIL REMOVED> ]
Sent: Tuesday, December 14, 2004 3:44 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] PPT to clean HTML



On Tue, 14 Dec 2004, glenda wrote:

> Anyone know of a quick way to convert powerpoint presentations into clean
> HTML? I tried the simple 'save as html', but there is all the MS Office
> styles I don't want.

Using HTML Kit would probably help to get rid of it, though it's not
perfect.

But the real problem is: if you could automatically convert a PowerPoint
presentation into a good, Web-friendly HTML document, then it was a really
lousy presentation - like my presentations used to be! A PowerPoint
presentation should be very concise, showing mostly just the key words,
acting as an aid to understanding the spoken (and gestured) presentation.
It's not meant to be readable in isolation, as standalone material.
To convert it to a Web page, you would normally need to _minimally_
change most of the presentation's content into subheadings and add at
least a sentence or two below each of them. This is hard work.

> Also, while I'm here, I have an ALT that has English and French, ie a
> Government of Canada department logo. How do I indicate the change in
> LANG???

You don't. Language changes cannot be indicated inside attribute values,
since they are pure text. (Well, Unicode has "language tag characters",
but nobody wants to use them, and they surely would not improve
accessibility.)

On the other hand, why would you write a bilingual alt text? The page
where the logo appears is either in English or in French, so the alt text
should use that language, e.g. alt="Government of Canada, department of
silly walks.". Bilingual pages should be avoided, but admittedly some
pages more or less need to be bilingual, e.g. a page for selecting
language (in cases where automatic language negotiation has failed).
If you wish to follow the letter of WAI recommendations (much more than
WAI itself does), you could use a little trick: use the logo image,
say logo.gif, and a dummy image (transparent single-pixel gif), say
dummy.gif, and write
<img src="logo.gif" lang="en" alt"Government of Canada, department of silly walks - "><img
src="dummy.gif" lang="fr" alt"Gouvernement du Canada, d&eacute;partement des promenades amusantes.">

I don't know whether any browser actually utitilizes the lang attribute
for an img element, but technically that attribute does specify, by
definition, the language of the attribute values. (There's a statement in
official Finnish rules for public sites that claims that alt attributes
are of no use unless their language is declared with lang attributes.
That's of course complete nonsense. Just a reminder: we should
_expect_ people who write accessibility policies to write them without
understanding how things work.)

--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

----
To subscribe or unsubscribe, visit http://www.webaim.org/discussion/

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.811 / Virus Database: 552 - Release Date: 12/13/04

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.811 / Virus Database: 552 - Release Date: 12/13/04