ampersand warning from validator in title (Full Version)

All Forums >> [Web Development] >> Accessibility



Message


ritarun -> ampersand warning from validator in title (8/27/2006 11:06:47)

I am attempting to validate a page and get a warning message and wondering if I really need to fix it.

I get a warning -- "unescaped and should be written as &" (ampersand symbol and then amp)

I have a list of items:
Region 1 & 2
Region 3
Region 4
Region 5
and so on

The validator doesn't like the ampersand in the title name for Region 1 & 2

<li><a href="index2.html" title="Region 1 & 2">Region 1 & 2</a></li>

Does it really matter since it is a title ?

I have alot of ampersands in the website and am only using it to save space in the buttons and navigation buttons.




jaybee -> RE: ampersand warning from validator in title (8/27/2006 12:24:33)

In the html code replace all the & with &amp;




ritarun -> RE: ampersand warning from validator in title (8/27/2006 13:23:15)

<Whine...> even if it just a title and not in the html?<whine...>

Drat! I had a feeling that I never should have used that darn ampersand symbol!





jaybee -> RE: ampersand warning from validator in title (8/27/2006 13:37:31)

It's entirely up to you. It is just a warning so you could get away with it, but it would be forever niggling at me. I have something in my site that I want to change, it's not invalid or anything it's just something I know I could have done better. Don't have the time to change it due to client work but it's really bugging me.

You could do a find and replace in FP.

Find

title="Region 1 & 2">Region 1 & 2

Replace

title="Region 1 &amp; 2">Region 1 &amp; 2




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875