[Bug 12365] New: Add @fullsize to <img>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12365

           Summary: Add @fullsize to <img>
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/embedded-content-1.html#t
                    he-img-element
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Add an attribute named fullsize - or similar to the <img> element.

* Most image gallery solutions offers users to click a small image in order to
see a larger version of the image. 
* Many authors seem adds a reference to that <img> inside the <img> element.

Problem: there are no attributes that can provide this function. And as a
result, authors have created their own attributes. Or they have misused
existing attributes. Typically, they have misused the @longdesc attribute.
There are many examples of new and old image gallery scripts in PHP and
Javascript which misuse @longdesc for this purpose.

One example is the http://addfullsize.com/. What is unique about the man
behind, Drew Wilson, is that he claims to have offered the idea about a
@fullsize to HTML5's editor. And he relays on the mentioned web site that our
editor asked him to get Web browser vendors to add support before he would add
@fullsize to <img>.

However, as authors care so much for validity that they use @longdesc instead,
it does not seem neccessary to wait for browser support, anymore than we need
to  wait for browser support for @data-x, @data-y, @data-z.

Features: an URL container. Every functionality other than that should be left
to scripts.

Benefits: 

@fullsize would offer authors a place to place a link to a larger version of
the image.
@fullsize would make authors stop misusing @longdesc for this purpose.

Why not use @data-* instead? Because data-* is intended to "store custom data
private to the page or application, for which there are no more appropriate
attributes or elements". By adding @fullsize, we create a more appropriate
element for a well known issue.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 22 March 2011 20:37:27 UTC