You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete implementation specific steps equivalent to setting the selected files on the input. If multiple is true files are be appended to element’s selected files.
There is no provision to validate selected files against the 'accept' attribute. For example, this is defined here:
It is also noted above that "User agents should prevent the user from selecting files that are not accepted by one (or more) of these tokens." I think it's worth referencing this or otherwise hooking into the validation that would be done by the UA in a real user scenario.