According to MDN, accept=[MIME type] supported in Firefox. However, I tried the following to no avail:
<input type="file" accept="text/html">
It does not filter HTML files: demo .
Is this a mistake or am I missing something?
html firefox forms
user648340
source share