Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wmode only applies to Flash content #41

Open
dd8 opened this issue Jun 19, 2018 · 2 comments
Open

wmode only applies to Flash content #41

dd8 opened this issue Jun 19, 2018 · 2 comments

Comments

@dd8
Copy link

dd8 commented Jun 19, 2018

https://alphagov.github.io/accessibility-tool-audit/tests/html-object-not-embedded-accessibly-wmode-parameter-not-set-to-window.html

This test is ambiguous because wmode=transparent is only an issue if data="foo" refers to an SWF movie, because wmode is a proprietary Adobe parameter for Flash player.

Here's Adobe's wmode documentation:
https://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html#main_Browser_support_for_Window_Mode__wmode__values

So this is definitely an issue:

<object type="application/x-shockwave-flash" data="movie_name.swf" width="550" height="400">
        <param name="wmode" value="transparent" />
        Alternative text
</object>

this is definitely not an issue:

<!-- not Flash content: wmode has no effect -->
<object data="clock.html" type="text/html">
        <param name="wmode" value="transparent" />
        Alternative text
</object>

and this depends on whether data="foo" is an SWF file:

<!-- wmode has no effect unless "foo" is an SWF file -->
<object data="foo">
        <param name="wmode" value="transparent" />
        Alternative text
</object>
@selfthinker
Copy link
Contributor

I'd be in favour of dropping this test altogether. Do we know if this is actually still a problem? Does anyone still use Flash?

But yes, good point. The "foo" was just a lazy way of not needing to search for and upload a Flash file.

@dd8
Copy link
Author

dd8 commented Aug 23, 2018

Dropping it makes sense, since Adobe have announced end of life for Flash in 2020, and browser vendors have been gradually making it harder to activate Flash content since 2017
https://theblog.adobe.com/adobe-flash-update/

Flash is already disabled by default in Safari on macOS High Sierra

Firefox will disable Flash by default in 2019
https://developer.mozilla.org/en-US/docs/Plugins/Roadmap

Chrome will disable Flash by default in July 2019
https://www.chromium.org/flash-roadmap

Edge and IE are disabling Flash by default in mid-to-late 2019
https://blogs.windows.com/msedgedev/2017/07/25/flash-on-windows-timeline/

According to these stats, Flash usage is down to 0.01% (data set is 16 billion web sites)
https://trends.builtwith.com/framework/Flash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants