HTML-ISSUE-197 (accept-file-ext): Accept attribute should allow file extensions in addition to the current allowed values [HTML 5 spec]

HTML-ISSUE-197 (accept-file-ext): Accept attribute should allow file extensions in addition to the current allowed values [HTML 5 spec]

http://www.w3.org/html/wg/tracker/issues/197

Raised by: Julian Reschke
On product: HTML 5 spec

(raised on behalf of sharco@microsoft.com):

The spec states: “The accept attribute may be specified to provide
user agents with a hint of what file types will be accepted.” The options
currently allowed in the accept attribute are mime types and the special tokens
“audio/*”, “image/*”, “video/*”.  Allowing file extensions to be a token would
help many developers and fits in exactly with the purpose of the accept
attribute.

See <https://www.w3.org/Bugs/Public/show_bug.cgi?id=11482>.

Received on Saturday, 14 January 2012 12:48:02 UTC