WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: error with MAP

for

From: Joel Ward
Date: Jan 25, 2002 1:44PM


Hi Glenda,

I suggest using DIV. MAP is a tag for image maps; you have a simple text
navigation bar. I'm sure MAP probably won't hurt, but I don't think this
was the intention of the MAP tag.

You can use TITLE attribute with the DIV:

<DIV title="Navigation Bar">
<P CLASS="navbar">[<a href="toc.htm">Contents</a>] [<a
href="question1.htm">Question 1</a>] [<a href="question3.htm">Question
3</a>] [<a href="glossary.htm">Glossary</a>]</p>
</DIV>

What is the reason for using MAP? Which site did you find that on? I'm
curious why that was suggested.

Joel

----- Original Message -----
From: "Glenda Watson Hyatt" < <EMAIL REMOVED> >
To: "Kynn Bartlett" < <EMAIL REMOVED> >; "WebAIM accessibility forum"
< <EMAIL REMOVED> >
Sent: Friday, January 25, 2002 3:21 PM
Subject: error with MAP


> I'm using MAP for a navigation bar, as suggested by one of the web
> accessibility sites.
>
> Here is my code:
>
> <!-- Navigation Bar -->
> <MAP title="Navigation Bar">
> <P CLASS="navbar">[<a href="toc.htm">Contents</a>] [<a
> href="question1.htm">Question 1</a>] [<a href="question3.htm">Question
> 3</a>] [<a href="glossary.htm">Glossary</a>]</p>
> </map>
>
> However, I get this error when validating the code:
>
> <MAP title="Navigation Bar">
> Error: required attribute "NAME" not specified
>
> Where did I go wrong? Should title be NAME?
>
> This is rather urgent as the Simplified Web Accessibility Guide goes to
> print today. Help.
>
> Cheers,
> Glenda
> *********
> Glenda Watson Hyatt
> Soaring Eagle Communications
> "Creating freedom and power through accessible communications"
> E Mail: mailto: <EMAIL REMOVED>
> Website: http://www.eaglecom.bc.ca
> Want to know how to make your website accessible to more people?
> Subscribe to our FREE newsletter by emailing
> mailto: <EMAIL REMOVED>
>
> *********
>
>
>
>
> ---
> To subscribe, unsubscribe, or view list archives,
> visit http://www.webaim.org/discussion/
>
>



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