jzaefferer/jquery-validation — Issue #287: Use of accept attribute conflicts with HTML standard
Author: shakerlxxv
Created: 2011-12-15 16:57:34+00:00
State: open

In theory, the fields have a standard attribute *accept* which should be populated with mime type values (e.g. image/* or text/csv).

This conflicts with the jquery.validator plugins of populating this field with file extensions.

I'd suggest the plugin be modified to support the HTML standards. It might also be useful to provide a mechanism to disable this validation. Alternatively the jquery.validator plugin could use a different attribute name and continue to expect file extensions.