[WSG] Video Accessibility Help

2010-06-15 Thread Spellacy, Michael
Hi List,

I was just wondering what some of the best practices were these days for
creating accessible video on the web. A few questions:

1) I know some Flash players can pull in captions, but which ones to
use? 
2) Are there any services out there that will scan your audio track and
create a captioned file for you (.srt, etc.) to feed into your player?
3) If you do succeed in creating captioned video do you also have to
create a transcript of the video for those users who may not have Flash
installed (or may not be able to access Flash using JAWS)?
4) Would providing just a transcript of the video, be all that is needed
to meet basic accessibility requirements?

Thanks in advance! I love this list!

Regards,
Michael Spell Spellacy
http://www.spellacy.net

@spellacy


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] Mobile Page Passes but MIME Type Fails

2010-06-15 Thread Kevin Erickson
Hello All,

If anyone can help me understand why my mobile page passes all accept the
MIME type.

Page code:

 

?xml version=1.0 encoding=utf-8?

!DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;

html xmlns=http://www.w3.org/1999/xhtml;

  head

titleVirginia.gov Mobile - Home/title

meta http-equiv=content-Type content=text/html; charset=utf-8 /

meta http-equiv=Cache-Control content=max-age=200 /

meta http-equiv=content-Language content=en-us /

meta name=HandheldFriendly content=True /

meta name=viewport content=user-scalable=no, width=device-width /

meta name=description content=Virginia.gov Mobile Portal allows you
to access key services from Virginia state government on your mobile device,
such as news, alerts, weather, and contact information. /  

meta name=keywords content=mobile, Virginia.gov, Virginia
government, PDA, phone, wireless, state /



style type=text/css

@import url(../../css/m_index.css);

/style

link rel=stylesheet type=text/css href=/css/iphone.css
media=only screen and (max-device-width: 480px) /

  /head

  body

  !-- Start of Mobile --

div id=m-header

  h1img src=../../images/virginia_dot_gov_logo.jpg width=151
height=40 alt=Virginia.gov Mobile Web Services //h1

  pa accesskey=Z href=../mobile_expanded/index.htmlSwitch to
Expanded Mobile Pages/a/p

/div

div class=m-breadcrumbsHome/div

div class=m-body

  h2Mobile Virginia.gov Services:/h2

  ul

liHome/li

lia accesskey=1 href=search.htmlSearch Virginia.gov/a/li

  /ul

  h2People:/h2

  ul

lia accesskey=2 href=people_citizens.htmlCitizens/a/li

lia accesskey=3 href=people_families.htmlFamilies/a/li

lia accesskey=4 href=people_state_employees.htmlState
Employees/a/li

lia accesskey=5 href=people_students.htmlStudents/a/li

  /ul

  h2Information:/h2

  ul

lia accesskey=6 href=info_government.htmlGovernment/a/li

lia accesskey=7 href=info_online_services.htmlOnline
Services/a/li

lia accesskey=8 href=info_business.htmlBusiness/a/li

lia accesskey=9 href=info_employment.htmlEmployment/a/li

lia accesskey=A href=info_education.htmlEducation/a/li

lia accesskey=B href=info_tourism_travel.htmlTourism and
Travel/a/li

  /ul

h2About Virginia:/h2

  ul

lia accesskey=C href=about_va_facts_history.htmlFacts and
History/a/li

lia accesskey=D href=about_va_mapping_virginia.htmlMapping
Virginia/a/li

  /ul

/div

div id=m-footer

  ul

lia href=index.htmlmobile.virginia.gov/a/li

lia href=http://www.virginia.gov;Virginia.gov Home/a/li

lia
href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/web_policy.
htmlSite Policies/a/li

lia
href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/contact_us.
htmlContact Virginia.gov/a/li

  /ul

/div

  /body

/html

 

To test the page I used http://ready.mobi/launch.jsp?locale=en_EN and the
error says:

 

Incorrect or missing MIME types were detected

The MIME types sent by servers give very important information to browsers
as to how to treat a document. If incorrect MIME types are sent with a
document, it may prevent the browser from correctly interpreting the
document and failing to render a document. 

For XHTML-MP, the recommended MIME type is application/vnd.wap.xhtml+xml or
application/xhtml+xml. Unlike HTML, XHTML-MP should not be served as
text/html.

Web servers are often set up correctly for common document types such as
HTML and CSS, but often do not have the correct doc types for XHTML-MP.
Please refer to mobiForge http://mobiforge.com  for instructions on how to
set up your MIME types correctly.

 WARN
MIME type was detected as text/html

 

I would send a link to the page but it is on a secure server.

Thank you very much for any help on this,

 

Kevin

 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

RE: [WSG] Mobile Page Passes but MIME Type Fails

2010-06-15 Thread Spellacy, Michael
Hi Kevin,

Regardless of what you are declaring in your meta tags, the server will trump 
you here and serve out the page as it is configured to do so (as text/html), in 
which case you'll have to configure the server to serve the page out with 
correct mime type. I don't know what you are using to build your pages, but if 
it happens to be ASP.NET you can declare an override type in the Page directive 
like this:

%@ Page contenttype=application/xhtml+xml ... %

(This will cause page to be rendered as XML in Internet Explorer, but this is a 
mobile site so don't worry about it.)

If you can't configure the server, I probably wouldn't fret over that much 
either as your page should still render fine on most devices out there.

Regards,
Michael Spell Spellacy
http://www.spellacy.net

@spellacy

From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On 
Behalf Of Kevin Erickson
Sent: Tuesday, June 15, 2010 5:32 PM
To: wsg@webstandardsgroup.org
Subject: [WSG] Mobile Page Passes but MIME Type Fails

Hello All,
If anyone can help me understand why my mobile page passes all accept the MIME 
type.
Page code:

?xml version=1.0 encoding=utf-8?
!DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN 
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
  head
    titleVirginia.gov Mobile - Home/title
    meta http-equiv=content-Type content=text/html; charset=utf-8 /
    meta http-equiv=Cache-Control content=max-age=200 /
    meta http-equiv=content-Language content=en-us /
    meta name=HandheldFriendly content=True /
    meta name=viewport content=user-scalable=no, width=device-width /
    meta name=description content=Virginia.gov Mobile Portal allows you to 
access key services from Virginia state government on your mobile device, such 
as news, alerts, weather, and contact information. /  
    meta name=keywords content=mobile, Virginia.gov, Virginia government, 
PDA, phone, wireless, state /    
    
    style type=text/css
    @import url(../../css/m_index.css);
    /style
    link rel=stylesheet type=text/css href=/css/iphone.css media=only 
screen and (max-device-width: 480px) /
  /head
  body
  !-- Start of Mobile --
    div id=m-header
  h1img src=../../images/virginia_dot_gov_logo.jpg width=151 
height=40 alt=Virginia.gov Mobile Web Services //h1
  pa accesskey=Z href=../mobile_expanded/index.htmlSwitch to 
Expanded Mobile Pages/a/p
    /div
    div class=m-breadcrumbsHome/div
div class=m-body
  h2Mobile Virginia.gov Services:/h2
  ul
    liHome/li
    lia accesskey=1 href=search.htmlSearch Virginia.gov/a/li
  /ul
  h2People:/h2
  ul
    lia accesskey=2 href=people_citizens.htmlCitizens/a/li
    lia accesskey=3 href=people_families.htmlFamilies/a/li
    lia accesskey=4 href=people_state_employees.htmlState 
Employees/a/li
    lia accesskey=5 href=people_students.htmlStudents/a/li
  /ul
  h2Information:/h2
  ul
    lia accesskey=6 href=info_government.htmlGovernment/a/li
    lia accesskey=7 href=info_online_services.htmlOnline 
Services/a/li
    lia accesskey=8 href=info_business.htmlBusiness/a/li
    lia accesskey=9 href=info_employment.htmlEmployment/a/li
    lia accesskey=A href=info_education.htmlEducation/a/li
    lia accesskey=B href=info_tourism_travel.htmlTourism and 
Travel/a/li
  /ul
h2About Virginia:/h2
  ul
    lia accesskey=C href=about_va_facts_history.htmlFacts and 
History/a/li
    lia accesskey=D href=about_va_mapping_virginia.htmlMapping 
Virginia/a/li
  /ul
    /div
    div id=m-footer
  ul
    lia href=index.htmlmobile.virginia.gov/a/li
    lia href=http://www.virginia.gov;Virginia.gov Home/a/li
    lia 
href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/web_policy.html;Site
 Policies/a/li
    lia 
href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/contact_us.html;Contact
 Virginia.gov/a/li
  /ul
    /div
  /body
/html

To test the page I used http://ready.mobi/launch.jsp?locale=en_EN and the error 
says:

Incorrect or missing MIME types were detected
The MIME types sent by servers give very important information to browsers as 
to how to treat a document. If incorrect MIME types are sent with a document, 
it may prevent the browser from correctly interpreting the document and failing 
to render a document. 
For XHTML-MP, the recommended MIME type is application/vnd.wap.xhtml+xml or 
application/xhtml+xml. Unlike HTML, XHTML-MP should not be served as text/html.
Web servers are often set up correctly for common document types such as HTML 
and CSS, but often do not have the correct doc types for XHTML-MP. Please refer 
to mobiForge for instructions on how to set up your MIME types correctly.
 WARN
MIME type was detected as text/html

I would send a link to the page but it is on a secure server.
Thank you very much for any 

Re: [WSG] Mobile Page Passes but MIME Type Fails

2010-06-15 Thread Phil Archer

Hi Kevin,

The answer is in your e-mail. You have created a page using a version of 
XHTML for which the correct MIME type is application/vnd.wap.xhtml+xml 
or application/xhtml+xml


but you're sending text/html so there is a mismatch, hence the warning.

The recommended markup for  mobile is now XHTML Basic 1.1 for which the 
appropriate MIME type is application/xhtml+xml but if you're sending to 
a device that doesn't support that (essentially just IE) then you'll 
need to do as you are doing and use text/html.


However... this is a warning, not a failure, so you may decide just to 
leave things as they are ;-)


Presumably you got this warning from the mobi Ready tool? This uses the 
same core code as the W3C mobileOK checker 
http://validator.w3.org/mobile/ (although we've added a lot of extra UI 
stuff over the last year or so).


HTH

Phil.

Kevin Erickson wrote:

Hello All,

If anyone can help me understand why my mobile page passes all accept the
MIME type.

Page code:

 


?xml version=1.0 encoding=utf-8?

!DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;

html xmlns=http://www.w3.org/1999/xhtml;

  head

titleVirginia.gov Mobile - Home/title

meta http-equiv=content-Type content=text/html; charset=utf-8 /

meta http-equiv=Cache-Control content=max-age=200 /

meta http-equiv=content-Language content=en-us /

meta name=HandheldFriendly content=True /

meta name=viewport content=user-scalable=no, width=device-width /

meta name=description content=Virginia.gov Mobile Portal allows you
to access key services from Virginia state government on your mobile device,
such as news, alerts, weather, and contact information. /  


meta name=keywords content=mobile, Virginia.gov, Virginia
government, PDA, phone, wireless, state /




style type=text/css

@import url(../../css/m_index.css);

/style

link rel=stylesheet type=text/css href=/css/iphone.css
media=only screen and (max-device-width: 480px) /

  /head

  body

  !-- Start of Mobile --

div id=m-header

  h1img src=../../images/virginia_dot_gov_logo.jpg width=151
height=40 alt=Virginia.gov Mobile Web Services //h1

  pa accesskey=Z href=../mobile_expanded/index.htmlSwitch to
Expanded Mobile Pages/a/p

/div

div class=m-breadcrumbsHome/div

div class=m-body

  h2Mobile Virginia.gov Services:/h2

  ul

liHome/li

lia accesskey=1 href=search.htmlSearch Virginia.gov/a/li

  /ul

  h2People:/h2

  ul

lia accesskey=2 href=people_citizens.htmlCitizens/a/li

lia accesskey=3 href=people_families.htmlFamilies/a/li

lia accesskey=4 href=people_state_employees.htmlState
Employees/a/li

lia accesskey=5 href=people_students.htmlStudents/a/li

  /ul

  h2Information:/h2

  ul

lia accesskey=6 href=info_government.htmlGovernment/a/li

lia accesskey=7 href=info_online_services.htmlOnline
Services/a/li

lia accesskey=8 href=info_business.htmlBusiness/a/li

lia accesskey=9 href=info_employment.htmlEmployment/a/li

lia accesskey=A href=info_education.htmlEducation/a/li

lia accesskey=B href=info_tourism_travel.htmlTourism and
Travel/a/li

  /ul

h2About Virginia:/h2

  ul

lia accesskey=C href=about_va_facts_history.htmlFacts and
History/a/li

lia accesskey=D href=about_va_mapping_virginia.htmlMapping
Virginia/a/li

  /ul

/div

div id=m-footer

  ul

lia href=index.htmlmobile.virginia.gov/a/li

lia href=http://www.virginia.gov;Virginia.gov Home/a/li

lia
href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/web_policy.
htmlSite Policies/a/li

lia
href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/contact_us.
htmlContact Virginia.gov/a/li

  /ul

/div

  /body

/html

 


To test the page I used http://ready.mobi/launch.jsp?locale=en_EN and the
error says:

 


Incorrect or missing MIME types were detected

The MIME types sent by servers give very important information to browsers
as to how to treat a document. If incorrect MIME types are sent with a
document, it may prevent the browser from correctly interpreting the
document and failing to render a document. 


For XHTML-MP, the recommended MIME type is application/vnd.wap.xhtml+xml or
application/xhtml+xml. Unlike HTML, XHTML-MP should not be served as
text/html.

Web servers are often set up correctly for common document types such as
HTML and CSS, but often do not have the correct doc types for XHTML-MP.
Please refer to mobiForge http://mobiforge.com  for instructions on how to
set up your MIME types correctly.

 WARN
MIME type was detected as text/html

 


I would send a link to the page but it is on a secure server.

Thank you very much for any help on this,

 


Kevin

 





Re: [WSG] Mobile Page Passes but MIME Type Fails

2010-06-15 Thread Kevin Erickson
I will take the advice from your emails and try again. I could leave it but it 
is something I just want to fix. Many Thanks!!!
Sent from my BlackBerry®

-Original Message-
From: Phil Archer ph...@w3.org
Date: Tue, 15 Jun 2010 23:15:09 
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Mobile Page Passes but MIME Type Fails

Hi Kevin,

The answer is in your e-mail. You have created a page using a version of 
XHTML for which the correct MIME type is application/vnd.wap.xhtml+xml 
or application/xhtml+xml

but you're sending text/html so there is a mismatch, hence the warning.

The recommended markup for  mobile is now XHTML Basic 1.1 for which the 
appropriate MIME type is application/xhtml+xml but if you're sending to 
a device that doesn't support that (essentially just IE) then you'll 
need to do as you are doing and use text/html.

However... this is a warning, not a failure, so you may decide just to 
leave things as they are ;-)

Presumably you got this warning from the mobi Ready tool? This uses the 
same core code as the W3C mobileOK checker 
http://validator.w3.org/mobile/ (although we've added a lot of extra UI 
stuff over the last year or so).

HTH

Phil.

Kevin Erickson wrote:
 Hello All,
 
 If anyone can help me understand why my mobile page passes all accept the
 MIME type.
 
 Page code:
 
  
 
 ?xml version=1.0 encoding=utf-8?
 
 !DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
 http://www.wapforum.org/DTD/xhtml-mobile10.dtd;
 
 html xmlns=http://www.w3.org/1999/xhtml;
 
   head
 
 titleVirginia.gov Mobile - Home/title
 
 meta http-equiv=content-Type content=text/html; charset=utf-8 /
 
 meta http-equiv=Cache-Control content=max-age=200 /
 
 meta http-equiv=content-Language content=en-us /
 
 meta name=HandheldFriendly content=True /
 
 meta name=viewport content=user-scalable=no, width=device-width /
 
 meta name=description content=Virginia.gov Mobile Portal allows you
 to access key services from Virginia state government on your mobile device,
 such as news, alerts, weather, and contact information. /  
 
 meta name=keywords content=mobile, Virginia.gov, Virginia
 government, PDA, phone, wireless, state /
 
 
 
 style type=text/css
 
 @import url(../../css/m_index.css);
 
 /style
 
 link rel=stylesheet type=text/css href=/css/iphone.css
 media=only screen and (max-device-width: 480px) /
 
   /head
 
   body
 
   !-- Start of Mobile --
 
 div id=m-header
 
   h1img src=../../images/virginia_dot_gov_logo.jpg width=151
 height=40 alt=Virginia.gov Mobile Web Services //h1
 
   pa accesskey=Z href=../mobile_expanded/index.htmlSwitch to
 Expanded Mobile Pages/a/p
 
 /div
 
 div class=m-breadcrumbsHome/div
 
 div class=m-body
 
   h2Mobile Virginia.gov Services:/h2
 
   ul
 
 liHome/li
 
 lia accesskey=1 href=search.htmlSearch Virginia.gov/a/li
 
   /ul
 
   h2People:/h2
 
   ul
 
 lia accesskey=2 href=people_citizens.htmlCitizens/a/li
 
 lia accesskey=3 href=people_families.htmlFamilies/a/li
 
 lia accesskey=4 href=people_state_employees.htmlState
 Employees/a/li
 
 lia accesskey=5 href=people_students.htmlStudents/a/li
 
   /ul
 
   h2Information:/h2
 
   ul
 
 lia accesskey=6 href=info_government.htmlGovernment/a/li
 
 lia accesskey=7 href=info_online_services.htmlOnline
 Services/a/li
 
 lia accesskey=8 href=info_business.htmlBusiness/a/li
 
 lia accesskey=9 href=info_employment.htmlEmployment/a/li
 
 lia accesskey=A href=info_education.htmlEducation/a/li
 
 lia accesskey=B href=info_tourism_travel.htmlTourism and
 Travel/a/li
 
   /ul
 
 h2About Virginia:/h2
 
   ul
 
 lia accesskey=C href=about_va_facts_history.htmlFacts and
 History/a/li
 
 lia accesskey=D href=about_va_mapping_virginia.htmlMapping
 Virginia/a/li
 
   /ul
 
 /div
 
 div id=m-footer
 
   ul
 
 lia href=index.htmlmobile.virginia.gov/a/li
 
 lia href=http://www.virginia.gov;Virginia.gov Home/a/li
 
 lia
 href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/web_policy.
 htmlSite Policies/a/li
 
 lia
 href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/contact_us.
 htmlContact Virginia.gov/a/li
 
   /ul
 
 /div
 
   /body
 
 /html
 
  
 
 To test the page I used http://ready.mobi/launch.jsp?locale=en_EN and the
 error says:
 
  
 
 Incorrect or missing MIME types were detected
 
 The MIME types sent by servers give very important information to browsers
 as to how to treat a document. If incorrect MIME types are sent with a
 document, it may prevent the browser from correctly interpreting the
 document and failing to render a document. 
 
 For XHTML-MP, the recommended MIME type is application/vnd.wap.xhtml+xml or
 application/xhtml+xml. Unlike HTML, XHTML-MP should not be served as
 text/html.
 

Re: [WSG] Video Accessibility Help

2010-06-15 Thread John Unsworth
Hi Michael,

Your first port of call might be the WCAG2 guidelines, found here;
http://www.w3.org/WAI/GL/WCAG20/#media-equiv

I also did a quick search for accessible online video best practice
and this link to a PDF from the US Department of Health and Human
Services exactly on the topic of Online Viral Video Requirements and
Best Practices might be useful to you. It is dated Jan 2010 and
covers the departments use of YouTube (and other video providers) and
importantly Section 508 compliance. A good deal of the document
regards brand guidelines as much as technical requirements, but in
that regards questions about dimension and file size and type might be
useful knowledge. This was the PDF link;
www.cdc.gov/socialmedia/Tools/guidelines/pdf/onlinevideo.pdf

Accessibility advocate Joe Clark I recall became very interested in
the question and quality of captioned video.

From my search above this resource of links from the Victorian
Government in Australia might also be useful;
http://www.egov.vic.gov.au/website-practice/online-video-content.html

I'm not that knowledgeable about Flash, but to your questions I recall
seeing a presentation from Adobe regards CS4 and that their Audio
program, whose name escapes me, could extract Caption text and that in
turn that file could be brought into Flash. However I thought it was
an XML file. I also understood that using ActionScript you could
program the import of the XML file, but the last time I used Flash was
at school and it was Flash8 and given the presentation I mentioned it
might be a tool built in??

Of course how this would be handled in HTML5 I'm less clear on:)

Didn't really answer your questions directly, but I hope some of this is useful.

Cheers,
John Unsworth


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



RE: [WSG] Mobile Page Passes but MIME Type Fails

2010-06-15 Thread Kevin Erickson
Question: For the line, 
!DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;, 
would I change this to, 
!DOCTYPE html PUBLIC -//WAPFORUM//DTD Basic 1.1//EN
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;, ??

And change, 
meta http-equiv=content-Type content=text/html; charset=utf-8 /, 
to, 
meta http-equiv=content-Type content=application/xhtml+xml;
charset=utf-8 /, ??

I have not been able to find the answers on the web.
Thanks.

Kevin

-Original Message-
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On
Behalf Of Phil Archer
Sent: Tuesday, June 15, 2010 6:15 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Mobile Page Passes but MIME Type Fails

Hi Kevin,

The answer is in your e-mail. You have created a page using a version of 
XHTML for which the correct MIME type is application/vnd.wap.xhtml+xml 
or application/xhtml+xml

but you're sending text/html so there is a mismatch, hence the warning.

The recommended markup for  mobile is now XHTML Basic 1.1 for which the 
appropriate MIME type is application/xhtml+xml but if you're sending to 
a device that doesn't support that (essentially just IE) then you'll 
need to do as you are doing and use text/html.

However... this is a warning, not a failure, so you may decide just to 
leave things as they are ;-)

Presumably you got this warning from the mobi Ready tool? This uses the 
same core code as the W3C mobileOK checker 
http://validator.w3.org/mobile/ (although we've added a lot of extra UI 
stuff over the last year or so).

HTH

Phil.

Kevin Erickson wrote:
 Hello All,
 
 If anyone can help me understand why my mobile page passes all accept the
 MIME type.
 
 Page code:
 
  
 
 ?xml version=1.0 encoding=utf-8?
 
 !DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
 http://www.wapforum.org/DTD/xhtml-mobile10.dtd;
 
 html xmlns=http://www.w3.org/1999/xhtml;
 
   head
 
 titleVirginia.gov Mobile - Home/title
 
 meta http-equiv=content-Type content=text/html; charset=utf-8 /
 
 meta http-equiv=Cache-Control content=max-age=200 /
 
 meta http-equiv=content-Language content=en-us /
 
 meta name=HandheldFriendly content=True /
 
 meta name=viewport content=user-scalable=no, width=device-width
/
 
 meta name=description content=Virginia.gov Mobile Portal allows
you
 to access key services from Virginia state government on your mobile
device,
 such as news, alerts, weather, and contact information. /  
 
 meta name=keywords content=mobile, Virginia.gov, Virginia
 government, PDA, phone, wireless, state /
 
 
 
 style type=text/css
 
 @import url(../../css/m_index.css);
 
 /style
 
 link rel=stylesheet type=text/css href=/css/iphone.css
 media=only screen and (max-device-width: 480px) /
 
   /head
 
   body
 
   !-- Start of Mobile --
 
 div id=m-header
 
   h1img src=../../images/virginia_dot_gov_logo.jpg width=151
 height=40 alt=Virginia.gov Mobile Web Services //h1
 
   pa accesskey=Z href=../mobile_expanded/index.htmlSwitch to
 Expanded Mobile Pages/a/p
 
 /div
 
 div class=m-breadcrumbsHome/div
 
 div class=m-body
 
   h2Mobile Virginia.gov Services:/h2
 
   ul
 
 liHome/li
 
 lia accesskey=1 href=search.htmlSearch
Virginia.gov/a/li
 
   /ul
 
   h2People:/h2
 
   ul
 
 lia accesskey=2 href=people_citizens.htmlCitizens/a/li
 
 lia accesskey=3 href=people_families.htmlFamilies/a/li
 
 lia accesskey=4 href=people_state_employees.htmlState
 Employees/a/li
 
 lia accesskey=5 href=people_students.htmlStudents/a/li
 
   /ul
 
   h2Information:/h2
 
   ul
 
 lia accesskey=6
href=info_government.htmlGovernment/a/li
 
 lia accesskey=7 href=info_online_services.htmlOnline
 Services/a/li
 
 lia accesskey=8 href=info_business.htmlBusiness/a/li
 
 lia accesskey=9
href=info_employment.htmlEmployment/a/li
 
 lia accesskey=A href=info_education.htmlEducation/a/li
 
 lia accesskey=B href=info_tourism_travel.htmlTourism and
 Travel/a/li
 
   /ul
 
 h2About Virginia:/h2
 
   ul
 
 lia accesskey=C href=about_va_facts_history.htmlFacts and
 History/a/li
 
 lia accesskey=D href=about_va_mapping_virginia.htmlMapping
 Virginia/a/li
 
   /ul
 
 /div
 
 div id=m-footer
 
   ul
 
 lia href=index.htmlmobile.virginia.gov/a/li
 
 lia href=http://www.virginia.gov;Virginia.gov Home/a/li
 
 lia

href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/web_policy.
 htmlSite Policies/a/li
 
 lia

href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/contact_us.
 htmlContact Virginia.gov/a/li
 
   /ul
 
 /div
 
   /body
 
 /html
 
  
 
 To test the page I used http://ready.mobi/launch.jsp?locale=en_EN and the
 error says:
 
  
 
 Incorrect or missing MIME types were detected
 
 The MIME 

Re: [WSG] Mobile Page Passes but MIME Type Fails

2010-06-15 Thread Phil Archer

The Doctype for XHTML Basic 1.1 is:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML Basic 1.1//EN
http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd;


HTH

Phil.

Kevin Erickson wrote:
Question: For the line, 
!DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;, 
would I change this to, 
!DOCTYPE html PUBLIC -//WAPFORUM//DTD Basic 1.1//EN

http://www.wapforum.org/DTD/xhtml-mobile10.dtd;, ??

And change, 
meta http-equiv=content-Type content=text/html; charset=utf-8 /, 
to, 
meta http-equiv=content-Type content=application/xhtml+xml;

charset=utf-8 /, ??

I have not been able to find the answers on the web.
Thanks.

Kevin

-Original Message-
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On
Behalf Of Phil Archer
Sent: Tuesday, June 15, 2010 6:15 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Mobile Page Passes but MIME Type Fails

Hi Kevin,

The answer is in your e-mail. You have created a page using a version of 
XHTML for which the correct MIME type is application/vnd.wap.xhtml+xml 
or application/xhtml+xml


but you're sending text/html so there is a mismatch, hence the warning.

The recommended markup for  mobile is now XHTML Basic 1.1 for which the 
appropriate MIME type is application/xhtml+xml but if you're sending to 
a device that doesn't support that (essentially just IE) then you'll 
need to do as you are doing and use text/html.


However... this is a warning, not a failure, so you may decide just to 
leave things as they are ;-)


Presumably you got this warning from the mobi Ready tool? This uses the 
same core code as the W3C mobileOK checker 
http://validator.w3.org/mobile/ (although we've added a lot of extra UI 
stuff over the last year or so).


HTH

Phil.

Kevin Erickson wrote:

Hello All,

If anyone can help me understand why my mobile page passes all accept the
MIME type.

Page code:

 


?xml version=1.0 encoding=utf-8?

!DOCTYPE html PUBLIC -//WAPFORUM//DTD XHTML Mobile 1.0//EN
http://www.wapforum.org/DTD/xhtml-mobile10.dtd;

html xmlns=http://www.w3.org/1999/xhtml;

  head

titleVirginia.gov Mobile - Home/title

meta http-equiv=content-Type content=text/html; charset=utf-8 /

meta http-equiv=Cache-Control content=max-age=200 /

meta http-equiv=content-Language content=en-us /

meta name=HandheldFriendly content=True /

meta name=viewport content=user-scalable=no, width=device-width

/

meta name=description content=Virginia.gov Mobile Portal allows

you

to access key services from Virginia state government on your mobile

device,
such as news, alerts, weather, and contact information. /  


meta name=keywords content=mobile, Virginia.gov, Virginia
government, PDA, phone, wireless, state /




style type=text/css

@import url(../../css/m_index.css);

/style

link rel=stylesheet type=text/css href=/css/iphone.css
media=only screen and (max-device-width: 480px) /

  /head

  body

  !-- Start of Mobile --

div id=m-header

  h1img src=../../images/virginia_dot_gov_logo.jpg width=151
height=40 alt=Virginia.gov Mobile Web Services //h1

  pa accesskey=Z href=../mobile_expanded/index.htmlSwitch to
Expanded Mobile Pages/a/p

/div

div class=m-breadcrumbsHome/div

div class=m-body

  h2Mobile Virginia.gov Services:/h2

  ul

liHome/li

lia accesskey=1 href=search.htmlSearch

Virginia.gov/a/li

  /ul

  h2People:/h2

  ul

lia accesskey=2 href=people_citizens.htmlCitizens/a/li

lia accesskey=3 href=people_families.htmlFamilies/a/li

lia accesskey=4 href=people_state_employees.htmlState
Employees/a/li

lia accesskey=5 href=people_students.htmlStudents/a/li

  /ul

  h2Information:/h2

  ul

lia accesskey=6

href=info_government.htmlGovernment/a/li

lia accesskey=7 href=info_online_services.htmlOnline
Services/a/li

lia accesskey=8 href=info_business.htmlBusiness/a/li

lia accesskey=9

href=info_employment.htmlEmployment/a/li

lia accesskey=A href=info_education.htmlEducation/a/li

lia accesskey=B href=info_tourism_travel.htmlTourism and
Travel/a/li

  /ul

h2About Virginia:/h2

  ul

lia accesskey=C href=about_va_facts_history.htmlFacts and
History/a/li

lia accesskey=D href=about_va_mapping_virginia.htmlMapping
Virginia/a/li

  /ul

/div

div id=m-footer

  ul

lia href=index.htmlmobile.virginia.gov/a/li

lia href=http://www.virginia.gov;Virginia.gov Home/a/li

lia


href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/web_policy.

htmlSite Policies/a/li

lia


href=http://www.virginia.gov/cmsportal3/about_virginia.gov_4096/contact_us.

htmlContact Virginia.gov/a/li

  /ul

/div

  /body

/html

 


To test the page I used http://ready.mobi/launch.jsp?locale=en_EN and the
error says:

 


Incorrect