E-mail List Archives
Re: trying to get a page to validate to AAA
From: Sandy
Date: Jul 15, 2010 9:15AM
- Next message: Info LearnAccessibility: "Re: Keep our moderator in your thoughts and prayers"
- Previous message: Cliff Tyllick: "Keep our moderator in your thoughts and prayers"
- Next message in Thread: None
- Previous message in Thread: Peter Krantz: "Re: trying to get a page to validate to AAA"
- View all messages in this Thread
Peter - thanks!
I changed the doctype to XHTML 1.0 Strict and the thing validates
everywhere now.
http://sandyfeldman.com/test1.html
so the problem is solved, but (for me) the mystery remains.
Why is the first test served as text/html? What did I get wrong in the
header?
http://sandyfeldman.com/test.html
thanks again for your time!
Sandy
>> is giving me the warning
>>
>> W608 - 1 instance(s): XHTML should be served with a content type of
>> 'application/xhtml+xml'.
>
> You are using XHTML 1.1 which must be served by the server as
> 'application/xhtml+xml'.
>
> Your page is served as text/html when I request it via
> http://web-sniffer.net/ thus, an error. This has no impact on
> accessibility though.
>
> The server sends out information about the content type in the http
> headers before the start of the document. This does not happen when
> you test a document locally loaded from a disk.
>
> There are no advantages of using the XHTML 1.1 doctype. Only
> disadvantages. Can you switch to HTML 4.01 or HTML 5 instead?
>
> Regards,
>
> Peter Krantz
> Http://www.standards-schmandards.com
>
>
- Next message: Info LearnAccessibility: "Re: Keep our moderator in your thoughts and prayers"
- Previous message: Cliff Tyllick: "Keep our moderator in your thoughts and prayers"
- Next message in Thread: None
- Previous message in Thread: Peter Krantz: "Re: trying to get a page to validate to AAA"
- View all messages in this Thread