accept attribute for file input
- LSAllows a filter to be defined for what type of files a user may pick with from an <input type="file">
dialog
Chrome
- ❌ 4: Not supported
- ﹖ 5 - 8: Support unknown
- ◐ 9 - 20: Partial support
- ﹖ 21 - 25: Support unknown
- ✅ 26 - 130: Supported
- ✅ 131: Supported
- ✅ 132 - 134: Supported
Edge
- ❌ 12 - 18: Not supported
- ✅ 79 - 130: Supported
- ✅ 131: Supported
Safari
- ❌ 3.1 - 5.1: Not supported
- ◐ 6 - 11: Partial support
- ✅ 11.1 - 18.0: Supported
- ✅ 18.1: Supported
- ✅ 18.2 - TP: Supported
Firefox
- ❌ 2 - 3.6: Not supported
- ◐ 4 - 36: Partial support
- ✅ 37 - 132: Supported
- ✅ 133: Supported
- ✅ 134 - 136: Supported
Opera
- ❌ 9 - 12.1: Not supported
- ✅ 15 - 113: Supported
- ✅ 114: Supported
IE
- ❌ 5.5 - 9: Not supported
- ✅ 10: Supported
- ✅ 11: Supported
Chrome for Android
- ◐ 131: Partial support
Safari on iOS
- ❌ 3.2 - 5.1: Not supported
- ❌ 6 - 7.1: Not supported
- ◐ 8 - 18.0: Partial support
- ◐ 18.1: Partial support
- ◐ 18.2: Partial support
Samsung Internet
- ◐ 4 - 25: Partial support
- ◐ 26: Partial support
Opera Mini
- ❌ all: Not supported
Opera Mobile
- ❌ 10 - 12.1: Not supported
- ❌ 80: Not supported
UC Browser for Android
- ❌ 15.5: Not supported
Android Browser
- ❌ 2.1 - 2.3: Not supported
- ◐ 3 - 4.3: Partial support
- ❌ 4.4 - 4.4.4: Not supported
- ❌ 131: Not supported
Firefox for Android
- ❌ 132: Not supported
QQ Browser
- ◐ 14.9: Partial support
Baidu Browser
- ◐ 13.52: Partial support
KaiOS Browser
- ✅ 2.5: Supported
- ✅ 3: Supported
Not supported means any file can be picked as if the accept
attribute was not set, unless otherwise noted.
On Windows, files that do not apply are hidden. On OSX they are grayed out and disabled.
- Resources:
- Demo & information