JSFiddle - React, Tailwind, and code Playground
HTML
1. <input type="file" accept=".png;.jpg;.doc" /> ( accept=".png;.jpg" )<br/>
2. <input type="file" accept="image/jpeg;image/png" /> ( accept="image/jpeg;image/png" )<br/>
3. <input type="file" accept="image/*" /> ( accept="Image/*" )<br/>
The 3rd is the only working (?!)