input-file-accept.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. {
  2. "title":"accept attribute for file input",
  3. "description":"Allows a filter to be defined for what type of files a user may pick with from an `<input type=\"file\">` dialog",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#attr-input-accept",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"http://www.wufoo.com/html5/attributes/07-accept.html",
  9. "title":"Demo & information"
  10. },
  11. {
  12. "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/13661175-full-spec-support-for-accept-in-input-type-file",
  13. "title":"Microsoft Edge feature request on UserVoice"
  14. }
  15. ],
  16. "bugs":[
  17. ],
  18. "categories":[
  19. "HTML5"
  20. ],
  21. "stats":{
  22. "ie":{
  23. "5.5":"n",
  24. "6":"n",
  25. "7":"n",
  26. "8":"n",
  27. "9":"n",
  28. "10":"y",
  29. "11":"y"
  30. },
  31. "edge":{
  32. "12":"n",
  33. "13":"n",
  34. "14":"n"
  35. },
  36. "firefox":{
  37. "2":"n",
  38. "3":"n",
  39. "3.5":"n",
  40. "3.6":"n",
  41. "4":"a #1",
  42. "5":"a #1",
  43. "6":"a #1",
  44. "7":"a #1",
  45. "8":"a #1",
  46. "9":"a #1",
  47. "10":"a #1",
  48. "11":"a #1",
  49. "12":"a #1",
  50. "13":"a #1",
  51. "14":"a #1",
  52. "15":"a #1",
  53. "16":"a #1",
  54. "17":"a #1",
  55. "18":"a #1",
  56. "19":"a #1",
  57. "20":"a #1",
  58. "21":"a #1",
  59. "22":"a #1",
  60. "23":"a #1",
  61. "24":"a #1",
  62. "25":"a #1",
  63. "26":"a #1",
  64. "27":"a #1",
  65. "28":"a #1",
  66. "29":"a #1",
  67. "30":"a #1",
  68. "31":"a #1",
  69. "32":"a #1",
  70. "33":"a #1",
  71. "34":"a #1",
  72. "35":"a #1",
  73. "36":"a #1",
  74. "37":"y",
  75. "38":"y",
  76. "39":"y",
  77. "40":"y",
  78. "41":"y",
  79. "42":"y",
  80. "43":"y",
  81. "44":"y",
  82. "45":"y",
  83. "46":"y",
  84. "47":"y",
  85. "48":"y",
  86. "49":"y",
  87. "50":"y",
  88. "51":"y",
  89. "52":"y",
  90. "53":"y"
  91. },
  92. "chrome":{
  93. "4":"n",
  94. "5":"u",
  95. "6":"u",
  96. "7":"u",
  97. "8":"u",
  98. "9":"a #1",
  99. "10":"a #1",
  100. "11":"a #1",
  101. "12":"a #1",
  102. "13":"a #1",
  103. "14":"a #1",
  104. "15":"a #1",
  105. "16":"a #1",
  106. "17":"a #1",
  107. "18":"a #1",
  108. "19":"a #1",
  109. "20":"a #1",
  110. "21":"u",
  111. "22":"u",
  112. "23":"u",
  113. "24":"u",
  114. "25":"u",
  115. "26":"y",
  116. "27":"y",
  117. "28":"y",
  118. "29":"y",
  119. "30":"y",
  120. "31":"y",
  121. "32":"y",
  122. "33":"y",
  123. "34":"y",
  124. "35":"y",
  125. "36":"y",
  126. "37":"y",
  127. "38":"y",
  128. "39":"y",
  129. "40":"y",
  130. "41":"y",
  131. "42":"y",
  132. "43":"y",
  133. "44":"y",
  134. "45":"y",
  135. "46":"y",
  136. "47":"y",
  137. "48":"y",
  138. "49":"y",
  139. "50":"y",
  140. "51":"y",
  141. "52":"y",
  142. "53":"y",
  143. "54":"y",
  144. "55":"y",
  145. "56":"y",
  146. "57":"y"
  147. },
  148. "safari":{
  149. "3.1":"n",
  150. "3.2":"n",
  151. "4":"n",
  152. "5":"n",
  153. "5.1":"n",
  154. "6":"a #1",
  155. "6.1":"a #1",
  156. "7":"a #1",
  157. "7.1":"a #1",
  158. "8":"a #1",
  159. "9":"a #1",
  160. "9.1":"a #1",
  161. "10":"a #1",
  162. "TP":"a #1"
  163. },
  164. "opera":{
  165. "9":"n",
  166. "9.5-9.6":"n",
  167. "10.0-10.1":"n",
  168. "10.5":"n",
  169. "10.6":"n",
  170. "11":"n",
  171. "11.1":"n",
  172. "11.5":"n",
  173. "11.6":"n",
  174. "12":"n",
  175. "12.1":"n",
  176. "15":"y",
  177. "16":"y",
  178. "17":"y",
  179. "18":"y",
  180. "19":"y",
  181. "20":"y",
  182. "21":"y",
  183. "22":"y",
  184. "23":"y",
  185. "24":"y",
  186. "25":"y",
  187. "26":"y",
  188. "27":"y",
  189. "28":"y",
  190. "29":"y",
  191. "30":"y",
  192. "31":"y",
  193. "32":"y",
  194. "33":"y",
  195. "34":"y",
  196. "35":"y",
  197. "36":"y",
  198. "37":"y",
  199. "38":"y",
  200. "39":"y",
  201. "40":"y",
  202. "41":"y",
  203. "42":"y",
  204. "43":"y"
  205. },
  206. "ios_saf":{
  207. "3.2":"n #3",
  208. "4.0-4.1":"n #3",
  209. "4.2-4.3":"n #3",
  210. "5.0-5.1":"n #3",
  211. "6.0-6.1":"n",
  212. "7.0-7.1":"n",
  213. "8":"n",
  214. "8.1-8.4":"n",
  215. "9.0-9.2":"n",
  216. "9.3":"n",
  217. "10-10.1":"n"
  218. },
  219. "op_mini":{
  220. "all":"n"
  221. },
  222. "android":{
  223. "2.1":"n",
  224. "2.2":"n",
  225. "2.3":"n",
  226. "3":"a #2",
  227. "4":"a #2",
  228. "4.1":"a #2",
  229. "4.2-4.3":"a #2",
  230. "4.4":"n #3",
  231. "4.4.3-4.4.4":"n #3",
  232. "53":"n #3"
  233. },
  234. "bb":{
  235. "7":"a #2",
  236. "10":"a #1"
  237. },
  238. "op_mob":{
  239. "10":"n",
  240. "11":"n",
  241. "11.1":"n",
  242. "11.5":"n",
  243. "12":"n",
  244. "12.1":"n",
  245. "37":"a #2"
  246. },
  247. "and_chr":{
  248. "54":"a #2"
  249. },
  250. "and_ff":{
  251. "50":"n"
  252. },
  253. "ie_mob":{
  254. "10":"n #3",
  255. "11":"a #4"
  256. },
  257. "and_uc":{
  258. "11":"n"
  259. },
  260. "samsung":{
  261. "4":"a #2"
  262. }
  263. },
  264. "notes":"Not supported means any file can be picked as if the `accept` attribute was not set, unless otherwise noted.\r\n\r\nOn Windows, files that do not apply are hidden. On OSX they are grayed out and disabled.",
  265. "notes_by_num":{
  266. "1":"Supports the type format (e.g. `image/*`) but not the extension format (e.g. `.png`)",
  267. "2":"Offers appropriate file locations/input based on format type, but does not prevent other files from being selected.",
  268. "3":"Does not allow any files to be picked at all",
  269. "4":"Supports the type format but does not allow any file to be picked when using the extension format"
  270. },
  271. "usage_perc_y":39.16,
  272. "usage_perc_a":31.71,
  273. "ucprefix":false,
  274. "parent":"",
  275. "keywords":"",
  276. "ie_id":"",
  277. "chrome_id":"",
  278. "firefox_id":"",
  279. "webkit_id":"",
  280. "shown":true
  281. }