Firefox accept accept attribute

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?

+7
html firefox forms
source share
2 answers

This is a known Firefox bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=826185

Fortunately, it seems that a problem has been fixed that should be addressed in the near future.

+2
source share

I think this is a mistake or not yet fully implemented.

+1
source share

All Articles