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

Re: Validity [embed]

From: Roberto Ellero <rellero@webaccessibile.org>
Date: Fri, 4 Nov 2005 17:43:13 +0100
Message-ID: <00fe01c5e15e$dbdd3550$0200a8c0@acerre>
To: <w3c-wai-gl@w3.org>

Scano:
>  If i'm a flash developer and i work following your
> guidelines for make this object directly accessible i pretend
> that if i insert this object inside an html/xhtml page:
> - the object don't damage my code conformance
> - the browser, with your plugin installed, make contents accessible.

Kirkpatrick:
That's all correct.

Scano:
> You instead are saying:
> - we have developed this with embed

Kirkpatrick:
I never, ever, ever, ever, ever, ever, ever said that we developed this
with the embed element.  Where are you reading this?

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/swflash.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



----- Original Message ----- 
From: "Andrew Kirkpatrick" <akirkpatrick@macromedia.com>
To: "Roberto Scano (IWA/HWG)" <rscano@iwa-italy.org>; <w3c-wai-gl@w3.org>
Sent: Friday, November 04, 2005 4:58 PM
Subject: RE: Validity



> Flash, imho, is like Java: an object with it's player that
> should be directly accessible.

To me, directly accessible means no additional user agent (e.g. screen
reader) is needed.
I think you mean "able to deliver accessible information", including to
AT. Flash does this.

>  If i'm a flash developer and i work following your
> guidelines for make this object directly accessible i pretend
> that if i insert this object inside an html/xhtml page:
> - the object don't damage my code conformance
> - the browser, with your plugin installed, make contents accessible.

That's all correct.

> You instead are saying:
> - we have developed this with embed

I never, ever, ever, ever, ever, ever, ever said that we developed this
with the embed element.  Where are you reading this?

AWK
Received on Friday, 4 November 2005 16:43:30 GMT

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