This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11481 - Allow input accept attribute to use file extensions or MIME type
Summary: Allow input accept attribute to use file extensions or MIME type
Status: RESOLVED DUPLICATE of bug 11482
Alias: None
Product: HTML.next
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 18:23 UTC by bugzilla.119x
Modified: 2010-12-06 18:34 UTC (History)
2 users (show)

See Also:


Attachments

Description bugzilla.119x 2010-12-06 18:23:00 UTC
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!
Comment 1 bugzilla.119x 2010-12-06 18:34:13 UTC

*** This bug has been marked as a duplicate of bug 11482 ***