HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5957

File a bug

SVNBugCommentTime (UTC)
5957Explicitly allow UAs to use <input type=file accept> intelligently.2011-03-18 03:57
Index: source
===================================================================
--- source	(revision 5956)
+++ source	(revision 5957)
@@ -48373,6 +48373,14 @@
   attribute, the user agent must <span title="split a string on
   commas">split the attribute value on commas</span>.</span></p>
 
+  <p>User agents may use the value of this attribute to display
+  appropriate a more appropriate user interface than a generic file
+  picker. For instance, given the value <code title="">image/*</code>,
+  a user agent could offer the user the option of using a local camera
+  or selecting a photograph from their photo collection; given the
+  value <code title="">image/*</code>, a user agent could offer the
+  user the option of recording a clip using a headset microphone.</p>
+
   <div class="impl">
 
   <p>User agents should prevent the user from selecting files that are

|