WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: <Location> tags and ALT attributes

for

From: Jukka K. Korpela
Date: Aug 3, 2010 10:24AM


E.J. Zufelt wrote:

> This looks like XML data storage to me,

Stuff like <homeHeading> is XML, not HTML. Or in theory it could be SGML or
some other markup, but surely not HTML. No guesswork is needed for this.
Whether it is "data storage" in some sense is something we cannot know.

> not meant to be rendered as
> it is by the browser,

Obviously, generic XML cannot be rendered "as it is" by a web browser, but
it might be rendered with the aid of a CSS style sheet. In this case that's
improbable.

> but used by the JS as data for what it is doing.

"The JS"? There are dozens of ways to play with XML, but (mere) JavaScript
isn't among the most productive ways.

The OP wrote:
"I recently ran across the following code as part of a Java script that
cycles through displaying different pictures".
But the code posted isn't JavaScript, it's markup.

> Just a guess obviously

Apparently.

But what's the accessibility issue here? The OP should at least post a URL
of a live demo, and explain how this all relates to web accessibility.

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