W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2005

RE: Validity [embed]

From: Bob Regan <bregan@macromedia.com>
Date: Fri, 4 Nov 2005 08:51:11 -0800
Message-ID: <DC9D05204B1E16419D62C12561C93221063B6A28@p01exm01.macromedia.com>
To: "Roberto Ellero" <rellero@webaccessibile.org>, <w3c-wai-gl@w3.org>

Please refer to my previous post on this issue. 

Choosing valid code causes issues for JAWS users. There should be an
easy fix for this problem. It is not forthcoming. In cases like this, I
will choose access over validity every time. We still must work toward
resolving these issues, however, I will not create issues for end users
just for the sake of doing so.  

Cheers,
Bob

Ellero:
It seems all OK, but unfortunately Flash MX Professional 2004 default
output
in HTML publishing is the following:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swfl
ash.cab#version=7,0,0,0"
width="540" height="400" id="caption" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="example.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="example.swf" quality="high" bgcolor="#ffffff" width="540"
height="400" name="caption" align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

[12 code errors in XHTML 1.0 Strict]

instead of the valid code:

------------------------------------------
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="540"
height="400">
      <param name="movie" value="example.swf" />
      <p><a href="#" title="testo completo con sottotitoli">Descrizione
alternativa testuale</a></p>
    <!--[if !IE]> <-->
   <object type="application/x-shockwave-flash" data="example.swf"
width="540" height="400">
      <param name="movie" value="example.swf" />
   </object>
      <p><a href="#" title="testo completo con sottotitoli">Descrizione
alternativa testuale</a></p>
    <!--> <![endif]-->
   </object>
--------------------------------------------

or the valid code:

--------------------------------------------
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="540" height="400">
<param name="movie" value="example.swf" />
<!--[if !IE]> <-->
<object type="application/x-shockwave-flash"
data="load.swf?path=example.swf"
width="540" height="400">
<param name="movie"
value="load.swf?path=example.swf" />
<img src="nonflash.jpg" width="180"
height="110" alt="Macromedia Flash non disponibile" />
</object>
<!--> <![endif]-->
</object>
----------------------------------------------


Best regards,
Roberto Ellero
Received on Friday, 4 November 2005 16:51:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:40 GMT