WebAIM - Web Accessibility In Mind

E-mail List Archives

<Location> tags and ALT attributes

for

From: J. B-Vincent
Date: Aug 3, 2010 6:45AM


I recently ran across the following code as part of a Java script that cycles through displaying different pictures:

<homeHeading>

<location>images/urthere/heading1.jpg</location>

<alt>First picture</alt>

<linkPath>none</linkPath>

</homeHeading>

Naturally, using <alt> as a tag rather than an attribute isn't working. However, I'm not finding any information to tell me what would work. Any suggestions?

Thanks--

Jane Vincent, Center for Accessible Technology