accept attribute for file input

- LS

Allows a filter to be defined for what type of files a user may pick with from an <input type="file"> dialog

IE

  1. 5.5 - 9: Not supported
  2. 10: Supported
  3. 11: Supported

Edge

  1. 12 - 18: Not supported
  2. 79: Supported
  3. 80: Supported

Firefox

  1. 2 - 3.6: Not supported
  2. 4 - 36: Partial support
  3. 37 - 73: Supported
  4. 74: Supported
  5. 75 - 76: Supported

Chrome

  1. 4: Not supported
  2. 5 - 8: Support unknown
  3. 9 - 20: Partial support
  4. 21 - 25: Support unknown
  5. 26 - 79: Supported
  6. 80: Supported
  7. 81 - 83: Supported

Safari

  1. 3.1 - 5.1: Not supported
  2. 6 - 11: Partial support
  3. 11.1 - 12.1: Supported
  4. 13: Supported
  5. 13.1 - TP: Supported

Opera

  1. 9 - 12.1: Not supported
  2. 15 - 65: Supported
  3. 66: Supported

iOS Safari

  1. 3.2 - 5.1: Not supported
  2. 6 - 7.1: Not supported
  3. 8 - 13.2: Partial support
  4. 13.3: Partial support
  5. 13.4: Partial support

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 2.3: Not supported
  2. 3 - 4.3: Partial support
  3. 4.4 - 4.4.4: Not supported
  4. 80: Not supported

Blackberry Browser

  1. 7: Partial support
  2. 10: Partial support

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 46: Partial support

Chrome for Android

  1. 80: Partial support

Firefox for Android

  1. 68: Not supported

IE Mobile

  1. 10: Not supported
  2. 11: Partial support

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 10.1: Partial support
  2. 11.1: Partial support

QQ Browser

  1. 1.2: Supported

Baidu Browser

  1. 7.12: Partial support

KaiOS Browser

  1. 2.5: 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:
Microsoft Edge feature request on UserVoice
Demo & information