[Bug 11481] New: Allow input accept attribute to use file extensions or MIME type

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

           Summary: Allow input accept attribute to use file extensions or
                    MIME type
           Product: HTML.next
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: dave.null@w3.org
        ReportedBy: bugzilla.119x@bleen.net
         QAContact: public-html-bugzilla@w3.org
                CC: plh@w3.org, mike@w3.org


This issue came up in a discussion by some Drupal developers
(http://drupal.org/node/939962).  We would like to let non-technical users
specify acceptable (or non-acceptable) files for a form field by entering a
list of file extensions. It is our belief that requiring MIME types like
application/vnd.openxmlformats-officedocument.wordprocessingml.document in
order to allow a .docx file is not practical and is too technical for the
layman.

On the other hand it is equally impractical for us to keep an accurate mapping
of extension to MIME type within our code because those types change and new
types are added with some frequency.

As a matter of practicality this should be added to the HTML spec so that the
"accept" attribute is useful.


----
If this is not the correct place to bring up this issue please let me know
where I should go... 

Thanks!

-- 
Configure bugmail: http://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 Monday, 6 December 2010 18:23:03 UTC