[Bug 17563] New: Forbid use of canvas for decoration

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17563

           Summary: Forbid use of canvas for decoration
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: res-html@untief.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


(coming from http://forums.whatwg.org/bb3/viewtopic.php?f=3&t=5016)

The spec for the canvas element states:
"The canvas element provides scripts with a resolution-dependent bitmap canvas,
which can be used for rendering graphs, game graphics, or other visual images
on the fly."

One could interpret that "other visual images" implies *decorative* images,
too.

I suggest to explicitly mention that the canvas element should/must not be used
for pure decorative images. 

Maybe similar to the section "A purely decorative image that doesn't add any
information", which states for the img element:
"If an image is decorative but isn't especially page-specific — for example an
image that forms part of a site-wide design scheme — the image should be
specified in the site's CSS, not in the markup of the document."

Random examples for what could be considered as decorative use of canvas (if
used as background animation in webpages *not about* canvas (or the animation)
itself):
· http://timothypoon.com/blog/demos/canvas-particle-parallax/
· http://radikalfx.com/files/anibg/
· http://www.go2script.com/items/style/14/25/dark_blue
· http://hernan.amiune.com/labs/particle-system/hello-world.html

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 21 June 2012 01:56:56 UTC