I've got a file field that accepts .jpg, .png and .gif images:
<input type="file" accept=".jpg, .png, .gif">
I know that there's no difference between .jpg and .jpeg images but Mozilla appear to advocate specifying that the file field accepts both .jpg and .jpeg like so:
<input type="file" accept=".jpg, .jpeg, .png, .gif">
Is this necessary?
Firefox accepts both .jpg and .jpeg when I only specify that the field accepts .jpg, but are there any browsers out there that need us to specify both?
Why do Mozilla docs show them specifying both if there's no difference?