WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: trying to get a page to validate to AAA

for

From: Sandy
Date: Jul 15, 2010 7:27AM


hi Iza,

These are really good! thank you. They cover character encodings really
well.

The thing I am confused about, and could use a "dummies" tutorial for is
content="application/xhtml+xml;
I think this is different than charset=utf-8 - right?

this is the code in my page
http://sandyfeldman.com/test.html

<meta http-equiv="Content-Type" content="application/xhtml+xml;
charset=utf-8" />

and the web version of total validator
http://www.totalvalidator.com/validator/Validator
is giving me the warning

HTML Warnings

W608 - 1 instance(s): XHTML should be served with a content type of
'application/xhtml+xml'.

Two reasons I am finding this warning so confusing:

1. it's not showing up when I use total validator locally or when I use
the w3 validator.
Andrew says, "99% positive that's an error (as in what you have is
correct but the validator is wrong)." Do you agree I can ignore the
result on the web based validator?

2. I don't really *understand* the content="application/xhtml+xml. I
think it's what I need for the document type XHTML 1.1 - but I don't
understand what's going on there. That's what I could use a simple
explanation for.

Thanks again for taking the time to come up with those links, and for
helping me get clear on this.

Sandy


>> Is there a "content-type for dummies" tutorial somewhere? I need a
>> basic introduction.
>
> Try these:
>
> Character encodings in HTML and CSS
> http://www.w3.org/International/tutorials/tutorial-char-enc/
> Bulletproof HTML: 37 Steps to Perfect Markup
> http://articles.sitepoint.com/article/html-37-steps-perfect-markup
> The Definitive Guide to Web Character Encoding
> http://articles.sitepoint.com/article/guide-web-character-encoding
>
> cheers Iza
>
>
>